home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1991-09-04 | 128.1 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: Magic Stack
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Feb 25 08:28:28 1991, modified Wed Sep 4 13:21:53 1991, creator HyperCard, type HyperCard stack, 113280 bytes "Magic Stack" , at 0x1bb00 17779 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 4d 61 67 69 63 20 | 53 74 61 63 6b 00 00 00 |..Magic |Stack...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 ba 80 00 | 00 45 73 a3 ee c1 7c a4 |........|.Es...|.|
|00000060| ea c6 b1 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 54 51 00 00 |........|....TQ..|
|00000080| 00 00 46 00 53 54 41 4b | ff ff ff ff 70 4e 88 39 |..F.STAK|....pN.9|
|00000090| 00 00 00 08 00 01 ba 80 | 00 00 46 00 00 00 00 00 |........|..F.....|
|000000a0| 00 00 00 01 00 00 00 02 | 00 00 0a c8 00 00 00 07 |........|........|
|000000b0| 00 00 0b 1f 00 00 08 da | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 01 25 80 00 01 25 80 00 | 01 25 80 00 01 25 80 00 |.%...%..|.%...%..|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 10 38 54 fe 54 38 10 |........|..8T.T8.|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 6f 70 65 6e 53 | 74 61 63 6b 0d 69 66 20 |on openS|tack.if |
|00000690| 74 68 65 20 76 65 72 73 | 69 6f 6e 20 3c 20 31 2e |the vers|ion < 1.|
|000006a0| 32 20 74 68 65 6e 0d 61 | 6e 73 77 65 72 20 22 53 |2 then.a|nswer "S|
|000006b0| 6f 72 72 79 2e 20 59 6f | 75 20 6e 65 65 64 20 48 |orry. Yo|u need H|
|000006c0| 79 70 65 72 63 61 72 64 | 20 31 2e 32 20 6f 72 20 |ypercard| 1.2 or |
|000006d0| 67 72 65 61 74 65 72 20 | 66 6f 72 20 74 68 69 73 |greater |for this|
|000006e0| 20 73 74 61 63 6b 2e 22 | 0d 67 6f 20 68 6f 6d 65 | stack."|.go home|
|000006f0| 0d 65 6e 64 20 69 66 0d | 68 69 64 65 20 62 67 20 |.end if.|hide bg |
|00000700| 62 74 6e 20 22 67 6f 20 | 62 61 63 6b 22 0d 67 6c |btn "go |back".gl|
|00000710| 6f 62 61 6c 20 4d 41 49 | 4e 53 43 52 45 45 4e 2c |obal MAI|NSCREEN,|
|00000720| 4d 41 58 5f 4c 45 56 45 | 4c 2c 4a 55 53 54 5f 4c |MAX_LEVE|L,JUST_L|
|00000730| 49 53 54 2c 53 70 65 6c | 6c 42 47 49 44 0d 70 75 |IST,Spel|lBGID.pu|
|00000740| 74 20 22 46 72 6f 6d 20 | 4c 69 73 74 22 20 69 6e |t "From |List" in|
|00000750| 74 6f 20 4a 55 53 54 5f | 4c 49 53 54 0d 70 75 74 |to JUST_|LIST.put|
|00000760| 20 39 20 69 6e 74 6f 20 | 4d 41 58 5f 4c 45 56 45 | 9 into |MAX_LEVE|
|00000770| 4c 0d 70 75 74 20 74 68 | 65 20 73 68 6f 72 74 20 |L.put th|e short |
|00000780| 69 64 20 6f 66 20 63 64 | 20 22 4d 61 69 6e 20 53 |id of cd| "Main S|
|00000790| 63 72 65 65 6e 22 20 6f | 66 20 62 67 20 22 4d 61 |creen" o|f bg "Ma|
|000007a0| 67 69 63 20 53 74 61 63 | 6b 22 20 69 6e 74 6f 20 |gic Stac|k" into |
|000007b0| 4d 41 49 4e 53 43 52 45 | 45 4e 0d 70 75 74 20 74 |MAINSCRE|EN.put t|
|000007c0| 68 65 20 73 68 6f 72 74 | 20 69 64 20 6f 66 20 62 |he short| id of b|
|000007d0| 67 20 22 53 70 65 6c 6c | 73 22 20 69 6e 74 6f 20 |g "Spell|s" into |
|000007e0| 53 70 65 6c 6c 42 47 49 | 44 0d 73 65 74 20 74 68 |SpellBGI|D.set th|
|000007f0| 65 20 74 65 78 74 61 72 | 72 6f 77 73 20 74 6f 20 |e textar|rows to |
|00000800| 74 72 75 65 0d 73 65 74 | 20 75 73 65 72 6c 65 76 |true.set| userlev|
|00000810| 65 6c 20 74 6f 20 33 0d | 73 65 74 20 62 6c 69 6e |el to 3.|set blin|
|00000820| 64 74 79 70 69 6e 67 20 | 74 6f 20 66 61 6c 73 65 |dtyping |to false|
|00000830| 0d 68 69 64 65 20 6d 65 | 6e 75 62 61 72 0d 68 69 |.hide me|nubar.hi|
|00000840| 64 65 20 62 67 20 66 6c | 64 20 22 68 65 6c 70 20 |de bg fl|d "help |
|00000850| 66 69 65 6c 64 22 0d 73 | 65 74 20 74 68 65 20 68 |field".s|et the h|
|00000860| 69 6c 69 74 65 20 6f 66 | 20 62 67 20 62 74 6e 20 |ilite of| bg btn |
|00000870| 22 68 65 6c 70 22 20 74 | 6f 20 66 61 6c 73 65 0d |"help" t|o false.|
|00000880| 65 6e 64 20 6f 70 65 6e | 53 74 61 63 6b 0d 0d 66 |end open|Stack..f|
|00000890| 75 6e 63 74 69 6f 6e 20 | 46 69 65 6c 64 5f 53 65 |unction |Field_Se|
|000008a0| 6c 65 63 74 0d 70 75 74 | 20 74 68 65 20 63 6c 69 |lect.put| the cli|
|000008b0| 63 6b 6c 6f 63 20 69 6e | 74 6f 20 43 4c 49 43 4b |ckloc in|to CLICK|
|000008c0| 45 44 48 45 52 45 0d 70 | 75 74 20 74 72 75 6e 63 |EDHERE.p|ut trunc|
|000008d0| 28 28 69 74 65 6d 20 32 | 20 6f 66 20 43 4c 49 43 |((item 2| of CLIC|
|000008e0| 4b 45 44 48 45 52 45 20 | 2d 20 54 6f 70 20 6f 66 |KEDHERE |- Top of|
|000008f0| 20 74 68 65 20 74 61 72 | 67 65 74 c2 0d 2b 74 68 | the tar|get..+th|
|00000900| 65 20 73 63 72 6f 6c 6c | 20 6f 66 20 74 68 65 20 |e scroll| of the |
|00000910| 74 61 72 67 65 74 29 20 | 64 69 76 20 74 65 78 74 |target) |div text|
|00000920| 48 65 69 67 68 74 20 6f | 66 20 74 68 65 20 74 61 |Height o|f the ta|
|00000930| 72 67 65 74 29 20 2b 20 | 31 20 69 6e 74 6f 20 74 |rget) + |1 into t|
|00000940| 68 65 4c 69 6e 65 0d 0d | 73 65 74 20 74 68 65 20 |heLine..|set the |
|00000950| 6c 6f 63 6b 74 65 78 74 | 20 6f 66 20 74 68 65 20 |locktext| of the |
|00000960| 74 61 72 67 65 74 20 74 | 6f 20 66 61 6c 73 65 0d |target t|o false.|
|00000970| 63 6c 69 63 6b 20 61 74 | 20 74 68 65 20 6c 65 66 |click at| the lef|
|00000980| 74 20 6f 66 20 74 68 65 | 20 74 61 72 67 65 74 2c |t of the| target,|
|00000990| 69 74 65 6d 20 32 20 6f | 66 20 43 4c 49 43 4b 45 |item 2 o|f CLICKE|
|000009a0| 44 48 45 52 45 0d 63 6c | 69 63 6b 20 61 74 20 74 |DHERE.cl|ick at t|
|000009b0| 68 65 20 72 69 67 68 74 | 20 6f 66 20 74 68 65 20 |he right| of the |
|000009c0| 74 61 72 67 65 74 2d 31 | 38 2c 69 74 65 6d 20 32 |target-1|8,item 2|
|000009d0| 20 6f 66 20 43 4c 49 43 | 4b 45 44 48 45 52 45 20 | of CLIC|KEDHERE |
|000009e0| 77 69 74 68 20 73 68 69 | 66 74 6b 65 79 0d 73 65 |with shi|ftkey.se|
|000009f0| 74 20 74 68 65 20 6c 6f | 63 6b 74 65 78 74 20 6f |t the lo|cktext o|
|00000a00| 66 20 74 68 65 20 74 61 | 72 67 65 74 20 74 6f 20 |f the ta|rget to |
|00000a10| 74 72 75 65 0d 72 65 74 | 75 72 6e 20 74 68 65 4c |true.ret|urn theL|
|00000a20| 69 6e 65 0d 65 6e 64 20 | 46 69 65 6c 64 5f 53 65 |ine.end |Field_Se|
|00000a30| 6c 65 63 74 0d 0d 6f 6e | 20 77 6f 72 6b 0d 73 68 |lect..on| work.sh|
|00000a40| 6f 77 20 6d 65 6e 75 62 | 61 72 0d 73 65 74 20 75 |ow menub|ar.set u|
|00000a50| 73 65 72 6c 65 76 65 6c | 20 74 6f 20 35 0d 73 65 |serlevel| to 5.se|
|00000a60| 74 20 62 6c 69 6e 64 74 | 79 70 69 6e 67 20 74 6f |t blindt|yping to|
|00000a70| 20 74 72 75 65 0d 65 6e | 64 20 77 6f 72 6b 0d 6f | true.en|d work.o|
|00000a80| 6e 20 70 6c 61 79 0d 68 | 69 64 65 20 6d 65 6e 75 |n play.h|ide menu|
|00000a90| 62 61 72 0d 73 65 74 20 | 75 73 65 72 6c 65 76 65 |bar.set |userleve|
|00000aa0| 6c 20 74 6f 20 33 0d 63 | 68 6f 6f 73 65 20 62 72 |l to 3.c|hoose br|
|00000ab0| 6f 77 73 65 20 74 6f 6f | 6c 0d 0d 65 6e 64 20 70 |owse too|l..end p|
|00000ac0| 6c 61 79 0d 0d 6f 6e 20 | 63 6c 6f 73 65 73 74 61 |lay..on |closesta|
|00000ad0| 63 6b 0d 67 6c 6f 62 61 | 6c 20 4d 41 49 4e 53 43 |ck.globa|l MAINSC|
|00000ae0| 52 45 45 4e 0d 68 69 64 | 65 20 62 67 20 62 74 6e |REEN.hid|e bg btn|
|00000af0| 20 22 67 6f 20 62 61 63 | 6b 22 20 6f 66 20 63 64 | "go bac|k" of cd|
|00000b00| 20 69 64 20 4d 41 49 4e | 53 43 52 45 45 4e 0d 69 | id MAIN|SCREEN.i|
|00000b10| 66 20 74 68 65 20 66 72 | 65 65 73 69 7a 65 20 6f |f the fr|eesize o|
|00000b20| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 3e 20 73 |f this s|tack > s|
|00000b30| 69 7a 65 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ize of t|his stac|
|00000b40| 6b 2f 31 30 20 74 68 65 | 6e 20 64 6f 4d 65 6e 75 |k/10 the|n doMenu|
|00000b50| 20 22 43 6f 6d 70 61 63 | 74 20 53 74 61 63 6b 22 | "Compac|t Stack"|
|00000b60| 0d 65 6e 64 20 63 6c 6f | 73 65 73 74 61 63 6b 0d |.end clo|sestack.|
|00000b70| 0d 66 75 6e 63 74 69 6f | 6e 20 41 64 64 5f 4c 69 |.functio|n Add_Li|
|00000b80| 73 74 20 4e 45 57 5f 4e | 41 4d 45 2c 4e 45 57 5f |st NEW_N|AME,NEW_|
|00000b90| 49 44 2c 4e 41 4d 45 5f | 46 49 45 4c 44 2c 49 44 |ID,NAME_|FIELD,ID|
|00000ba0| 5f 46 49 45 4c 44 0d 70 | 75 74 20 63 64 20 66 6c |_FIELD.p|ut cd fl|
|00000bb0| 64 20 4e 41 4d 45 5f 46 | 49 45 4c 44 20 6f 66 20 |d NAME_F|IELD of |
|00000bc0| 63 64 20 22 4c 69 73 74 | 73 22 20 69 6e 74 6f 20 |cd "List|s" into |
|00000bd0| 41 4c 50 48 41 5f 4e 41 | 4d 45 53 0d 70 75 74 20 |ALPHA_NA|MES.put |
|00000be0| 63 64 20 66 6c 64 20 49 | 44 5f 46 49 45 4c 44 20 |cd fld I|D_FIELD |
|00000bf0| 6f 66 20 63 64 20 22 4c | 69 73 74 73 22 20 69 6e |of cd "L|ists" in|
|00000c00| 74 6f 20 41 4c 50 48 41 | 5f 4c 49 4e 4b 53 0d 70 |to ALPHA|_LINKS.p|
|00000c10| 75 74 20 31 20 69 6e 74 | 6f 20 43 4f 55 4e 54 0d |ut 1 int|o COUNT.|
|00000c20| 0d 70 75 74 20 42 53 65 | 61 72 63 68 20 28 4e 45 |.put BSe|arch (NE|
|00000c30| 57 5f 4e 41 4d 45 2c 41 | 4c 50 48 41 5f 4e 41 4d |W_NAME,A|LPHA_NAM|
|00000c40| 45 53 29 20 69 6e 74 6f | 20 43 4f 55 4e 54 0d 0d |ES) into| COUNT..|
|00000c50| 69 66 20 43 4f 55 4e 54 | 20 69 73 20 30 20 74 68 |if COUNT| is 0 th|
|00000c60| 65 6e 0d 2d 2d 20 70 75 | 74 20 69 74 20 61 74 20 |en.-- pu|t it at |
|00000c70| 74 68 65 20 73 74 61 72 | 74 20 6f 66 20 74 68 65 |the star|t of the|
|00000c80| 20 6c 69 73 74 0d 69 66 | 20 41 4c 50 48 41 5f 4e | list.if| ALPHA_N|
|00000c90| 41 4d 45 53 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |AMES is |not empt|
|00000ca0| 79 20 74 68 65 6e 0d 70 | 75 74 20 72 65 74 75 72 |y then.p|ut retur|
|00000cb0| 6e 20 62 65 66 6f 72 65 | 20 6c 69 6e 65 20 31 20 |n before| line 1 |
|00000cc0| 6f 66 20 41 4c 50 48 41 | 5f 4e 41 4d 45 53 0d 70 |of ALPHA|_NAMES.p|
|00000cd0| 75 74 20 72 65 74 75 72 | 6e 20 62 65 66 6f 72 65 |ut retur|n before|
|00000ce0| 20 6c 69 6e 65 20 31 20 | 6f 66 20 41 4c 50 48 41 | line 1 |of ALPHA|
|00000cf0| 5f 4c 49 4e 4b 53 0d 65 | 6e 64 20 69 66 0d 70 75 |_LINKS.e|nd if.pu|
|00000d00| 74 20 4e 45 57 5f 4e 41 | 4d 45 20 69 6e 74 6f 20 |t NEW_NA|ME into |
|00000d10| 6c 69 6e 65 20 31 20 6f | 66 20 41 4c 50 48 41 5f |line 1 o|f ALPHA_|
|00000d20| 4e 41 4d 45 53 0d 70 75 | 74 20 4e 45 57 5f 49 44 |NAMES.pu|t NEW_ID|
|00000d30| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 31 20 6f 66 20 | into li|ne 1 of |
|00000d40| 41 4c 50 48 41 5f 4c 49 | 4e 4b 53 0d 65 6c 73 65 |ALPHA_LI|NKS.else|
|00000d50| 0d 2d 2d 20 70 75 74 20 | 69 74 20 77 69 74 68 69 |.-- put |it withi|
|00000d60| 6e 20 74 68 65 20 6c 69 | 73 74 0d 70 75 74 20 72 |n the li|st.put r|
|00000d70| 65 74 75 72 6e 26 4e 45 | 57 5f 4e 41 4d 45 20 61 |eturn&NE|W_NAME a|
|00000d80| 66 74 65 72 20 6c 69 6e | 65 20 43 4f 55 4e 54 20 |fter lin|e COUNT |
|00000d90| 6f 66 20 41 4c 50 48 41 | 5f 4e 41 4d 45 53 0d 70 |of ALPHA|_NAMES.p|
|00000da0| 75 74 20 72 65 74 75 72 | 6e 26 4e 45 57 5f 49 44 |ut retur|n&NEW_ID|
|00000db0| 20 61 66 74 65 72 20 6c | 69 6e 65 20 43 4f 55 4e | after l|ine COUN|
|00000dc0| 54 20 6f 66 20 41 4c 50 | 48 41 5f 4c 49 4e 4b 53 |T of ALP|HA_LINKS|
|00000dd0| 0d 65 6e 64 20 69 66 0d | 70 75 74 20 41 4c 50 48 |.end if.|put ALPH|
|00000de0| 41 5f 4e 41 4d 45 53 20 | 69 6e 74 6f 20 63 64 20 |A_NAMES |into cd |
|00000df0| 66 6c 64 20 4e 41 4d 45 | 5f 46 49 45 4c 44 20 6f |fld NAME|_FIELD o|
|00000e00| 66 20 63 64 20 22 4c 69 | 73 74 73 22 0d 70 75 74 |f cd "Li|sts".put|
|00000e10| 20 41 4c 50 48 41 5f 4c | 49 4e 4b 53 20 69 6e 74 | ALPHA_L|INKS int|
|00000e20| 6f 20 63 64 20 66 6c 64 | 20 49 44 5f 46 49 45 4c |o cd fld| ID_FIEL|
|00000e30| 44 20 6f 66 20 63 64 20 | 22 4c 69 73 74 73 22 0d |D of cd |"Lists".|
|00000e40| 65 6e 64 20 41 64 64 5f | 4c 69 73 74 0d 0d 66 75 |end Add_|List..fu|
|00000e50| 6e 63 74 69 6f 6e 20 44 | 65 6c 65 74 65 5f 4c 69 |nction D|elete_Li|
|00000e60| 73 74 20 53 50 45 4c 4c | 5f 4e 41 4d 45 2c 53 50 |st SPELL|_NAME,SP|
|00000e70| 45 4c 4c 5f 49 44 2c 4e | 41 4d 45 5f 46 49 45 4c |ELL_ID,N|AME_FIEL|
|00000e80| 44 2c 49 44 5f 46 49 45 | 4c 44 0d 70 75 74 20 63 |D,ID_FIE|LD.put c|
|00000e90| 64 20 66 6c 64 20 4e 41 | 4d 45 5f 46 49 45 4c 44 |d fld NA|ME_FIELD|
|00000ea0| 20 6f 66 20 63 64 20 22 | 4c 69 73 74 73 22 20 69 | of cd "|Lists" i|
|00000eb0| 6e 74 6f 20 41 4c 50 48 | 41 5f 4e 41 4d 45 53 0d |nto ALPH|A_NAMES.|
|00000ec0| 70 75 74 20 63 64 20 66 | 6c 64 20 49 44 5f 46 49 |put cd f|ld ID_FI|
|00000ed0| 45 4c 44 20 6f 66 20 63 | 64 20 22 4c 69 73 74 73 |ELD of c|d "Lists|
|00000ee0| 22 20 69 6e 74 6f 20 41 | 4c 50 48 41 5f 49 44 53 |" into A|LPHA_IDS|
|00000ef0| 0d 70 75 74 20 31 20 69 | 6e 74 6f 20 43 4f 55 4e |.put 1 i|nto COUN|
|00000f00| 54 0d 0d 70 75 74 20 42 | 53 65 61 72 63 68 20 28 |T..put B|Search (|
|00000f10| 53 50 45 4c 4c 5f 4e 41 | 4d 45 2c 41 4c 50 48 41 |SPELL_NA|ME,ALPHA|
|00000f20| 5f 4e 41 4d 45 53 29 20 | 69 6e 74 6f 20 43 4f 55 |_NAMES) |into COU|
|00000f30| 4e 54 0d 0d 69 66 20 6c | 69 6e 65 20 43 4f 55 4e |NT..if l|ine COUN|
|00000f40| 54 20 6f 66 20 41 4c 50 | 48 41 5f 4e 41 4d 45 53 |T of ALP|HA_NAMES|
|00000f50| 20 69 73 20 6e 6f 74 20 | 53 50 45 4c 4c 5f 4e 41 | is not |SPELL_NA|
|00000f60| 4d 45 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 22 |ME then.|answer "|
|00000f70| 59 6f 75 20 68 61 76 65 | 20 61 20 62 61 64 20 4d |You have| a bad M|
|00000f80| 61 67 69 63 20 53 74 61 | 63 6b 2e 20 43 6f 6e 74 |agic Sta|ck. Cont|
|00000f90| 61 63 74 20 4d 65 2e 22 | 0d 65 6c 73 65 0d 69 66 |act Me."|.else.if|
|00000fa0| 20 6c 69 6e 65 20 43 4f | 55 4e 54 20 6f 66 20 41 | line CO|UNT of A|
|00000fb0| 4c 50 48 41 5f 49 44 53 | 20 69 73 20 6e 6f 74 20 |LPHA_IDS| is not |
|00000fc0| 53 50 45 4c 4c 5f 49 44 | 20 74 68 65 6e 0d 2d 2d |SPELL_ID| then.--|
|00000fd0| 20 6d 6f 76 65 20 61 72 | 6f 75 6e 64 20 74 6f 20 | move ar|ound to |
|00000fe0| 66 69 6e 64 20 74 68 65 | 20 63 6f 72 72 65 63 74 |find the| correct|
|00000ff0| 20 53 50 45 4c 4c 5f 49 | 44 0d 72 65 70 65 61 74 | SPELL_I|D.repeat|
|00001000| 20 77 68 69 6c 65 20 6c | 69 6e 65 20 28 43 4f 55 | while l|ine (COU|
|00001010| 4e 54 2d 31 29 20 6f 66 | 20 41 4c 50 48 41 5f 4e |NT-1) of| ALPHA_N|
|00001020| 41 4d 45 53 20 69 73 20 | 53 50 45 4c 4c 5f 4e 41 |AMES is |SPELL_NA|
|00001030| 4d 45 0d 73 75 62 74 72 | 61 63 74 20 31 20 66 72 |ME.subtr|act 1 fr|
|00001040| 6f 6d 20 43 4f 55 4e 54 | 0d 65 6e 64 20 72 65 70 |om COUNT|.end rep|
|00001050| 65 61 74 0d 72 65 70 65 | 61 74 20 77 68 69 6c 65 |eat.repe|at while|
|00001060| 20 6c 69 6e 65 20 43 4f | 55 4e 54 20 6f 66 20 41 | line CO|UNT of A|
|00001070| 4c 50 48 41 5f 49 44 53 | 20 69 73 20 6e 6f 74 20 |LPHA_IDS| is not |
|00001080| 53 50 45 4c 4c 5f 49 44 | 20 61 6e 64 20 c2 0d 6c |SPELL_ID| and ..l|
|00001090| 69 6e 65 20 43 4f 55 4e | 54 20 6f 66 20 41 4c 50 |ine COUN|T of ALP|
|000010a0| 48 41 5f 4e 41 4d 45 53 | 20 69 73 20 53 50 45 4c |HA_NAMES| is SPEL|
|000010b0| 4c 5f 4e 41 4d 45 0d 61 | 64 64 20 31 20 74 6f 20 |L_NAME.a|dd 1 to |
|000010c0| 43 4f 55 4e 54 0d 65 6e | 64 20 72 65 70 65 61 74 |COUNT.en|d repeat|
|000010d0| 0d 69 66 20 6c 69 6e 65 | 20 43 4f 55 4e 54 20 6f |.if line| COUNT o|
|000010e0| 66 20 41 4c 50 48 41 5f | 4e 41 4d 45 53 20 69 73 |f ALPHA_|NAMES is|
|000010f0| 20 6e 6f 74 20 53 50 45 | 4c 4c 5f 4e 41 4d 45 20 | not SPE|LL_NAME |
|00001100| 74 68 65 6e 0d 61 6e 73 | 77 65 72 20 22 59 6f 75 |then.ans|wer "You|
|00001110| 20 68 61 76 65 20 61 20 | 62 61 64 20 4d 61 67 69 | have a |bad Magi|
|00001120| 63 20 53 74 61 63 6b 2e | 20 53 65 65 20 4d 61 6e |c Stack.| See Man|
|00001130| 75 61 6c 2e 22 0d 65 6e | 64 20 69 66 0d 65 6e 64 |ual.".en|d if.end|
|00001140| 20 69 66 0d 64 65 6c 65 | 74 65 20 6c 69 6e 65 20 | if.dele|te line |
|00001150| 43 4f 55 4e 54 20 6f 66 | 20 41 4c 50 48 41 5f 4e |COUNT of| ALPHA_N|
|00001160| 41 4d 45 53 0d 64 65 6c | 65 74 65 20 6c 69 6e 65 |AMES.del|ete line|
|00001170| 20 43 4f 55 4e 54 20 6f | 66 20 41 4c 50 48 41 5f | COUNT o|f ALPHA_|
|00001180| 49 44 53 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 41 |IDS.end |if.put A|
|00001190| 4c 50 48 41 5f 4e 41 4d | 45 53 20 69 6e 74 6f 20 |LPHA_NAM|ES into |
|000011a0| 63 64 20 66 6c 64 20 4e | 41 4d 45 5f 46 49 45 4c |cd fld N|AME_FIEL|
|000011b0| 44 20 6f 66 20 63 64 20 | 22 4c 69 73 74 73 22 0d |D of cd |"Lists".|
|000011c0| 70 75 74 20 41 4c 50 48 | 41 5f 49 44 53 20 69 6e |put ALPH|A_IDS in|
|000011d0| 74 6f 20 63 64 20 66 6c | 64 20 49 44 5f 46 49 45 |to cd fl|d ID_FIE|
|000011e0| 4c 44 20 6f 66 20 63 64 | 20 22 4c 69 73 74 73 22 |LD of cd| "Lists"|
|000011f0| 0d 65 6e 64 20 44 65 6c | 65 74 65 5f 4c 69 73 74 |.end Del|ete_List|
|00001200| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 42 53 65 61 72 |..functi|on BSear|
|00001210| 63 68 20 4e 41 4d 45 2c | 4e 41 4d 45 5f 4c 49 53 |ch NAME,|NAME_LIS|
|00001220| 54 0d 2d 2d 20 66 69 6e | 64 20 77 68 65 72 65 20 |T.-- fin|d where |
|00001230| 4e 41 4d 45 20 69 73 2c | 20 6f 72 20 69 66 20 6e |NAME is,| or if n|
|00001240| 6f 74 20 74 68 65 72 65 | 2c 20 77 68 65 72 65 20 |ot there|, where |
|00001250| 69 74 20 73 68 6f 75 6c | 64 20 67 6f 0d 2d 2d 20 |it shoul|d go.-- |
|00001260| 74 68 69 73 20 72 65 74 | 75 72 6e 73 20 74 68 65 |this ret|urns the|
|00001270| 20 6c 69 6e 65 20 4e 41 | 4d 45 20 73 68 6f 75 6c | line NA|ME shoul|
|00001280| 64 20 67 6f 20 41 46 54 | 45 52 20 69 73 20 4e 41 |d go AFT|ER is NA|
|00001290| 4d 45 20 69 73 20 6e 6f | 74 20 74 68 65 72 65 0d |ME is no|t there.|
|000012a0| 70 75 74 20 31 20 69 6e | 74 6f 20 4d 49 4e 5f 42 |put 1 in|to MIN_B|
|000012b0| 4f 55 4e 44 0d 70 75 74 | 20 74 68 65 20 6e 75 6d |OUND.put| the num|
|000012c0| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 6f 66 20 |ber of l|ines of |
|000012d0| 4e 41 4d 45 5f 4c 49 53 | 54 20 69 6e 74 6f 20 4d |NAME_LIS|T into M|
|000012e0| 41 58 5f 42 4f 55 4e 44 | 0d 70 75 74 20 74 72 75 |AX_BOUND|.put tru|
|000012f0| 6e 63 28 28 4d 49 4e 5f | 42 4f 55 4e 44 2b 4d 41 |nc((MIN_|BOUND+MA|
|00001300| 58 5f 42 4f 55 4e 44 29 | 2f 32 29 20 69 6e 74 6f |X_BOUND)|/2) into|
|00001310| 20 54 45 53 54 5f 53 49 | 54 45 0d 70 75 74 20 4d | TEST_SI|TE.put M|
|00001320| 49 4e 5f 42 4f 55 4e 44 | 20 69 6e 74 6f 20 50 52 |IN_BOUND| into PR|
|00001330| 45 56 5f 53 49 54 45 0d | 69 66 20 4d 41 58 5f 42 |EV_SITE.|if MAX_B|
|00001340| 4f 55 4e 44 20 69 73 20 | 30 20 74 68 65 6e 0d 70 |OUND is |0 then.p|
|00001350| 75 74 20 30 20 69 6e 74 | 6f 20 54 45 53 54 5f 53 |ut 0 int|o TEST_S|
|00001360| 49 54 45 0d 65 6c 73 65 | 20 69 66 20 4e 41 4d 45 |ITE.else| if NAME|
|00001370| 20 3c 20 6c 69 6e 65 20 | 4d 49 4e 5f 42 4f 55 4e | < line |MIN_BOUN|
|00001380| 44 20 6f 66 20 4e 41 4d | 45 5f 4c 49 53 54 20 74 |D of NAM|E_LIST t|
|00001390| 68 65 6e 0d 70 75 74 20 | 4d 49 4e 5f 42 4f 55 4e |hen.put |MIN_BOUN|
|000013a0| 44 2d 31 20 69 6e 74 6f | 20 54 45 53 54 5f 53 49 |D-1 into| TEST_SI|
|000013b0| 54 45 0d 65 6c 73 65 20 | 69 66 20 4e 41 4d 45 20 |TE.else |if NAME |
|000013c0| 3e 3d 20 6c 69 6e 65 20 | 4d 41 58 5f 42 4f 55 4e |>= line |MAX_BOUN|
|000013d0| 44 20 6f 66 20 4e 41 4d | 45 5f 4c 49 53 54 20 74 |D of NAM|E_LIST t|
|000013e0| 68 65 6e 0d 70 75 74 20 | 4d 41 58 5f 42 4f 55 4e |hen.put |MAX_BOUN|
|000013f0| 44 20 69 6e 74 6f 20 54 | 45 53 54 5f 53 49 54 45 |D into T|EST_SITE|
|00001400| 0d 65 6c 73 65 20 72 65 | 70 65 61 74 20 75 6e 74 |.else re|peat unt|
|00001410| 69 6c 20 4e 41 4d 45 3d | 6c 69 6e 65 20 54 45 53 |il NAME=|line TES|
|00001420| 54 5f 53 49 54 45 20 6f | 66 20 4e 41 4d 45 5f 4c |T_SITE o|f NAME_L|
|00001430| 49 53 54 20 6f 72 c2 0d | 54 45 53 54 5f 53 49 54 |IST or..|TEST_SIT|
|00001440| 45 20 69 73 20 50 52 45 | 56 5f 53 49 54 45 0d 69 |E is PRE|V_SITE.i|
|00001450| 66 20 4e 41 4d 45 3e 6c | 69 6e 65 20 54 45 53 54 |f NAME>l|ine TEST|
|00001460| 5f 53 49 54 45 20 6f 66 | 20 4e 41 4d 45 5f 4c 49 |_SITE of| NAME_LI|
|00001470| 53 54 20 74 68 65 6e 0d | 70 75 74 20 54 45 53 54 |ST then.|put TEST|
|00001480| 5f 53 49 54 45 20 69 6e | 74 6f 20 4d 49 4e 5f 42 |_SITE in|to MIN_B|
|00001490| 4f 55 4e 44 0d 65 6c 73 | 65 0d 70 75 74 20 54 45 |OUND.els|e.put TE|
|000014a0| 53 54 5f 53 49 54 45 20 | 69 6e 74 6f 20 4d 41 58 |ST_SITE |into MAX|
|000014b0| 5f 42 4f 55 4e 44 0d 65 | 6e 64 20 69 66 0d 70 75 |_BOUND.e|nd if.pu|
|000014c0| 74 20 54 45 53 54 5f 53 | 49 54 45 20 69 6e 74 6f |t TEST_S|ITE into|
|000014d0| 20 50 52 45 56 5f 53 49 | 54 45 0d 70 75 74 20 74 | PREV_SI|TE.put t|
|000014e0| 72 75 6e 63 28 28 4d 49 | 4e 5f 42 4f 55 4e 44 2b |runc((MI|N_BOUND+|
|000014f0| 4d 41 58 5f 42 4f 55 4e | 44 29 2f 32 29 20 69 6e |MAX_BOUN|D)/2) in|
|00001500| 74 6f 20 54 45 53 54 5f | 53 49 54 45 0d 65 6e 64 |to TEST_|SITE.end|
|00001510| 20 72 65 70 65 61 74 0d | 72 65 74 75 72 6e 20 54 | repeat.|return T|
|00001520| 45 53 54 5f 53 49 54 45 | 0d 65 6e 64 20 42 53 65 |EST_SITE|.end BSe|
|00001530| 61 72 63 68 0d 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |arch...f|unction |
|00001540| 46 69 6e 64 5f 4a 75 6e | 6b 20 57 48 41 54 2c 57 |Find_Jun|k WHAT,W|
|00001550| 48 45 52 45 2c 54 59 50 | 45 2c 54 59 50 45 5f 54 |HERE,TYP|E,TYPE_T|
|00001560| 4f 5f 53 45 41 52 43 48 | 0d 67 6c 6f 62 61 6c 20 |O_SEARCH|.global |
|00001570| 4e 41 4d 45 5f 4c 49 53 | 54 2c 49 44 5f 4c 49 53 |NAME_LIS|T,ID_LIS|
|00001580| 54 0d 70 75 74 20 31 20 | 69 6e 74 6f 20 53 50 45 |T.put 1 |into SPE|
|00001590| 4c 4c 5f 43 4f 55 4e 54 | 0d 72 65 70 65 61 74 20 |LL_COUNT|.repeat |
|000015a0| 77 68 69 6c 65 20 53 50 | 45 4c 4c 5f 43 4f 55 4e |while SP|ELL_COUN|
|000015b0| 54 20 3c 3d 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |T <= the| number |
|000015c0| 6f 66 20 6c 69 6e 65 73 | 20 6f 66 20 49 44 5f 4c |of lines| of ID_L|
|000015d0| 49 53 54 0d 70 75 74 20 | 6c 69 6e 65 20 53 50 45 |IST.put |line SPE|
|000015e0| 4c 4c 5f 43 4f 55 4e 54 | 20 6f 66 20 49 44 5f 4c |LL_COUNT| of ID_L|
|000015f0| 49 53 54 20 69 6e 74 6f | 20 53 50 45 4c 4c 5f 49 |IST into| SPELL_I|
|00001600| 44 0d 69 66 20 54 59 50 | 45 20 69 73 20 6e 6f 74 |D.if TYP|E is not|
|00001610| 20 22 41 6c 6c 20 54 79 | 70 65 73 22 20 74 68 65 | "All Ty|pes" the|
|00001620| 6e 0d 70 75 74 20 46 41 | 4c 53 45 20 69 6e 74 6f |n.put FA|LSE into|
|00001630| 20 4b 45 45 50 5f 49 54 | 0d 70 75 74 20 31 20 69 | KEEP_IT|.put 1 i|
|00001640| 6e 74 6f 20 43 4f 55 4e | 54 0d 72 65 70 65 61 74 |nto COUN|T.repeat|
|00001650| 20 77 68 69 6c 65 20 43 | 4f 55 4e 54 20 3c 3d 20 | while C|OUNT <= |
|00001660| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00001670| 6e 65 73 20 6f 66 20 54 | 59 50 45 20 61 6e 64 20 |nes of T|YPE and |
|00001680| 6e 6f 74 20 4b 45 45 50 | 5f 49 54 0d 70 75 74 20 |not KEEP|_IT.put |
|00001690| 6f 66 66 73 65 74 28 6c | 69 6e 65 20 43 4f 55 4e |offset(l|ine COUN|
|000016a0| 54 20 6f 66 20 54 59 50 | 45 2c 62 67 20 66 6c 64 |T of TYP|E,bg fld|
|000016b0| 20 54 59 50 45 5f 54 4f | 5f 53 45 41 52 43 48 20 | TYPE_TO|_SEARCH |
|000016c0| 6f 66 20 63 64 20 69 64 | 20 53 50 45 4c 4c 5f 49 |of cd id| SPELL_I|
|000016d0| 44 29 20 69 73 20 6e 6f | 74 20 30 20 69 6e 74 6f |D) is no|t 0 into|
|000016e0| 20 4b 45 45 50 5f 49 54 | 0d 61 64 64 20 31 20 74 | KEEP_IT|.add 1 t|
|000016f0| 6f 20 43 4f 55 4e 54 0d | 65 6e 64 20 72 65 70 65 |o COUNT.|end repe|
|00001700| 61 74 0d 65 6c 73 65 20 | 70 75 74 20 54 52 55 45 |at.else |put TRUE|
|00001710| 20 69 6e 74 6f 20 4b 45 | 45 50 5f 49 54 0d 69 66 | into KE|EP_IT.if|
|00001720| 20 4b 45 45 50 5f 49 54 | 20 74 68 65 6e 0d 70 75 | KEEP_IT| then.pu|
|00001730| 74 20 31 20 69 6e 74 6f | 20 43 4f 55 4e 54 0d 69 |t 1 into| COUNT.i|
|00001740| 66 20 6c 69 6e 65 20 43 | 4f 55 4e 54 20 6f 66 20 |f line C|OUNT of |
|00001750| 57 48 45 52 45 20 69 73 | 20 22 55 73 65 64 20 42 |WHERE is| "Used B|
|00001760| 79 22 20 74 68 65 6e 0d | 69 66 20 6c 69 6e 65 20 |y" then.|if line |
|00001770| 43 4f 55 4e 54 20 6f 66 | 20 57 48 41 54 20 69 73 |COUNT of| WHAT is|
|00001780| 20 6e 6f 74 20 22 4e 6f | 20 6f 6e 65 22 20 74 68 | not "No| one" th|
|00001790| 65 6e 0d 70 75 74 20 6f | 66 66 73 65 74 20 28 22 |en.put o|ffset ("|
|000017a0| 41 6e 79 6f 6e 65 22 2c | 62 67 20 66 6c 64 20 28 |Anyone",|bg fld (|
|000017b0| 6c 69 6e 65 20 43 4f 55 | 4e 54 20 6f 66 20 57 48 |line COU|NT of WH|
|000017c0| 45 52 45 29 20 6f 66 20 | 63 64 20 69 64 20 53 50 |ERE) of |cd id SP|
|000017d0| 45 4c 4c 5f 49 44 29 69 | 73 20 6e 6f 74 20 30 20 |ELL_ID)i|s not 0 |
|000017e0| 69 6e 74 6f 20 4b 45 45 | 50 5f 49 54 0d 65 6e 64 |into KEE|P_IT.end|
|000017f0| 20 69 66 0d 69 66 20 6f | 66 66 73 65 74 20 28 6c | if.if o|ffset (l|
|00001800| 69 6e 65 20 43 4f 55 4e | 54 20 6f 66 20 57 48 41 |ine COUN|T of WHA|
|00001810| 54 2c 62 67 20 66 6c 64 | 20 28 6c 69 6e 65 20 43 |T,bg fld| (line C|
|00001820| 4f 55 4e 54 20 6f 66 20 | 57 48 45 52 45 29 20 6f |OUNT of |WHERE) o|
|00001830| 66 20 63 64 20 69 64 20 | 53 50 45 4c 4c 5f 49 44 |f cd id |SPELL_ID|
|00001840| 29 20 69 73 20 6e 6f 74 | 20 30 20 74 68 65 6e 0d |) is not| 0 then.|
|00001850| 70 75 74 20 54 52 55 45 | 20 69 6e 74 6f 20 4b 45 |put TRUE| into KE|
|00001860| 45 50 5f 49 54 0d 65 6e | 64 20 69 66 0d 70 75 74 |EP_IT.en|d if.put|
|00001870| 20 32 20 69 6e 74 6f 20 | 43 4f 55 4e 54 0d 65 6e | 2 into |COUNT.en|
|00001880| 64 20 69 66 0d 69 66 20 | 4b 45 45 50 5f 49 54 20 |d if.if |KEEP_IT |
|00001890| 74 68 65 6e 0d 72 65 70 | 65 61 74 20 77 68 69 6c |then.rep|eat whil|
|000018a0| 65 20 43 4f 55 4e 54 3c | 3d 20 74 68 65 20 6e 75 |e COUNT<|= the nu|
|000018b0| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 6f 66 |mber of |lines of|
|000018c0| 20 57 48 41 54 20 61 6e | 64 20 4b 45 45 50 5f 49 | WHAT an|d KEEP_I|
|000018d0| 54 0d 70 75 74 20 6f 66 | 66 73 65 74 28 6c 69 6e |T.put of|fset(lin|
|000018e0| 65 20 43 4f 55 4e 54 20 | 6f 66 20 57 48 41 54 2c |e COUNT |of WHAT,|
|000018f0| 62 67 20 66 6c 64 20 28 | 6c 69 6e 65 20 43 4f 55 |bg fld (|line COU|
|00001900| 4e 54 20 6f 66 20 57 48 | 45 52 45 29 20 6f 66 c2 |NT of WH|ERE) of.|
|00001910| 0d 63 64 20 69 64 20 53 | 50 45 4c 4c 5f 49 44 29 |.cd id S|PELL_ID)|
|00001920| 20 69 73 20 6e 6f 74 20 | 30 20 69 6e 74 6f 20 4b | is not |0 into K|
|00001930| 45 45 50 5f 49 54 0d 61 | 64 64 20 31 20 74 6f 20 |EEP_IT.a|dd 1 to |
|00001940| 43 4f 55 4e 54 0d 65 6e | 64 20 72 65 70 65 61 74 |COUNT.en|d repeat|
|00001950| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 69 |.end if.|end if.i|
|00001960| 66 20 6e 6f 74 20 4b 45 | 45 50 5f 49 54 20 74 68 |f not KE|EP_IT th|
|00001970| 65 6e 0d 64 65 6c 65 74 | 65 20 6c 69 6e 65 20 53 |en.delet|e line S|
|00001980| 50 45 4c 4c 5f 43 4f 55 | 4e 54 20 6f 66 20 49 44 |PELL_COU|NT of ID|
|00001990| 5f 4c 49 53 54 0d 64 65 | 6c 65 74 65 20 6c 69 6e |_LIST.de|lete lin|
|000019a0| 65 20 53 50 45 4c 4c 5f | 43 4f 55 4e 54 20 6f 66 |e SPELL_|COUNT of|
|000019b0| 20 4e 41 4d 45 5f 4c 49 | 53 54 0d 65 6c 73 65 0d | NAME_LI|ST.else.|
|000019c0| 61 64 64 20 31 20 74 6f | 20 53 50 45 4c 4c 5f 43 |add 1 to| SPELL_C|
|000019d0| 4f 55 4e 54 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |OUNT.end| if.end |
|000019e0| 72 65 70 65 61 74 0d 65 | 6e 64 20 46 69 6e 64 5f |repeat.e|nd Find_|
|000019f0| 4a 75 6e 6b 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 41 |Junk..fu|nction A|
|00001a00| 64 64 5f 43 68 6f 6f 73 | 65 72 20 4e 45 57 5f 4e |dd_Choos|er NEW_N|
|00001a10| 41 4d 45 2c 4e 45 57 5f | 49 44 0d 67 6c 6f 62 61 |AME,NEW_|ID.globa|
|00001a20| 6c 20 4d 41 49 4e 53 43 | 52 45 45 4e 2c 43 55 52 |l MAINSC|REEN,CUR|
|00001a30| 52 45 4e 54 5f 43 41 52 | 44 0d 70 75 74 20 6c 61 |RENT_CAR|D.put la|
|00001a40| 73 74 20 63 68 61 72 20 | 6f 66 20 62 67 20 66 6c |st char |of bg fl|
|00001a50| 64 20 22 53 70 65 6c 6c | 20 43 68 6f 6f 73 65 72 |d "Spell| Chooser|
|00001a60| 22 20 6f 66 20 63 64 20 | 69 64 20 4d 41 49 4e 53 |" of cd |id MAINS|
|00001a70| 43 52 45 45 4e 20 69 6e | 74 6f 20 53 43 48 0d 70 |CREEN in|to SCH.p|
|00001a80| 75 74 20 6c 61 73 74 20 | 63 68 61 72 20 6f 66 20 |ut last |char of |
|00001a90| 63 64 20 66 6c 64 20 22 | 53 70 65 6c 6c 49 44 22 |cd fld "|SpellID"|
|00001aa0| 20 6f 66 20 63 64 20 69 | 64 20 4d 41 49 4e 53 43 | of cd i|d MAINSC|
|00001ab0| 52 45 45 4e 20 69 6e 74 | 6f 20 53 49 44 0d 69 66 |REEN int|o SID.if|
|00001ac0| 20 53 43 48 20 69 73 20 | 72 65 74 75 72 6e 20 6f | SCH is |return o|
|00001ad0| 72 20 28 62 67 20 66 6c | 64 20 22 53 70 65 6c 6c |r (bg fl|d "Spell|
|00001ae0| 20 43 68 6f 6f 73 65 72 | 22 20 6f 66 20 63 64 20 | Chooser|" of cd |
|00001af0| 69 64 20 4d 41 49 4e 53 | 43 52 45 45 4e 29 20 69 |id MAINS|CREEN) i|
|00001b00| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 70 75 74 |s empty |then.put|
|00001b10| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 53 43 48 0d | empty i|nto SCH.|
|00001b20| 65 6c 73 65 0d 70 75 74 | 20 72 65 74 75 72 6e 20 |else.put| return |
|00001b30| 69 6e 74 6f 20 53 43 48 | 0d 65 6e 64 20 69 66 0d |into SCH|.end if.|
|00001b40| 69 66 20 53 49 44 20 69 | 73 20 72 65 74 75 72 6e |if SID i|s return|
|00001b50| 20 6f 72 20 28 63 64 20 | 66 6c 64 20 22 53 70 65 | or (cd |fld "Spe|
|00001b60| 6c 6c 49 44 22 20 6f 66 | 20 63 64 20 69 64 20 4d |llID" of| cd id M|
|00001b70| 41 49 4e 53 43 52 45 45 | 4e 29 20 69 73 20 65 6d |AINSCREE|N) is em|
|00001b80| 70 74 79 20 74 68 65 6e | 0d 70 75 74 20 65 6d 70 |pty then|.put emp|
|00001b90| 74 79 20 69 6e 74 6f 20 | 53 49 44 0d 65 6c 73 65 |ty into |SID.else|
|00001ba0| 0d 70 75 74 20 72 65 74 | 75 72 6e 20 69 6e 74 6f |.put ret|urn into|
|00001bb0| 20 53 49 44 0d 65 6e 64 | 20 69 66 0d 70 75 74 20 | SID.end| if.put |
|00001bc0| 53 43 48 26 4e 45 57 5f | 4e 41 4d 45 20 61 66 74 |SCH&NEW_|NAME aft|
|00001bd0| 65 72 20 62 67 20 66 6c | 64 20 22 53 70 65 6c 6c |er bg fl|d "Spell|
|00001be0| 20 43 68 6f 6f 73 65 72 | 22 20 6f 66 20 63 64 20 | Chooser|" of cd |
|00001bf0| 69 64 20 4d 41 49 4e 53 | 43 52 45 45 4e 0d 70 75 |id MAINS|CREEN.pu|
|00001c00| 74 20 53 49 44 26 28 74 | 68 65 20 73 68 6f 72 74 |t SID&(t|he short|
|00001c10| 20 69 64 20 6f 66 20 74 | 68 69 73 20 63 61 72 64 | id of t|his card|
|00001c20| 29 20 61 66 74 65 72 20 | 63 64 20 66 6c 64 20 22 |) after |cd fld "|
|00001c30| 53 70 65 6c 6c 49 44 22 | 20 6f 66 c2 0d 63 64 20 |SpellID"| of..cd |
|00001c40| 69 64 20 4d 41 49 4e 53 | 43 52 45 45 4e 0d 70 75 |id MAINS|CREEN.pu|
|00001c50| 74 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |t the nu|mber of |
|00001c60| 6c 69 6e 65 73 20 6f 66 | 20 62 67 20 66 6c 64 20 |lines of| bg fld |
|00001c70| 22 53 70 65 6c 6c 20 43 | 68 6f 6f 73 65 72 22 20 |"Spell C|hooser" |
|00001c80| 6f 66 20 63 64 20 69 64 | 20 4d 41 49 4e 53 43 52 |of cd id| MAINSCR|
|00001c90| 45 45 4e 20 69 6e 74 6f | c2 0d 43 55 52 52 45 4e |EEN into|..CURREN|
|00001ca0| 54 5f 43 41 52 44 0d 65 | 6e 64 20 41 64 64 5f 43 |T_CARD.e|nd Add_C|
|00001cb0| 68 6f 6f 73 65 72 0d 0d | 66 75 6e 63 74 69 6f 6e |hooser..|function|
|00001cc0| 20 41 73 6b 46 6f 72 4c | 65 76 65 6c 0d 67 6c 6f | AskForL|evel.glo|
|00001cd0| 62 61 6c 20 4d 41 58 5f | 4c 45 56 45 4c 0d 70 75 |bal MAX_|LEVEL.pu|
|00001ce0| 74 20 54 52 55 45 20 69 | 6e 74 6f 20 52 45 50 45 |t TRUE i|nto REPE|
|00001cf0| 41 54 41 53 4b 0d 72 65 | 70 65 61 74 20 77 68 69 |ATASK.re|peat whi|
|00001d00| 6c 65 20 52 45 50 45 41 | 54 41 53 4b 0d 61 73 6b |le REPEA|TASK.ask|
|00001d10| 20 22 53 70 65 6c 6c 20 | 4c 65 76 65 6c 3f 22 0d | "Spell |Level?".|
|00001d20| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 4e 65 77 4c |put it i|nto NewL|
|00001d30| 65 76 65 6c 0d 69 66 20 | 4e 65 77 4c 65 76 65 6c |evel.if |NewLevel|
|00001d40| 20 69 73 20 65 6d 70 74 | 79 20 6f 72 20 4e 65 77 | is empt|y or New|
|00001d50| 4c 65 76 65 6c 20 69 73 | 20 22 43 61 6e 63 65 6c |Level is| "Cancel|
|00001d60| 22 20 74 68 65 6e 0d 70 | 75 74 20 46 41 4c 53 45 |" then.p|ut FALSE|
|00001d70| 20 69 6e 74 6f 20 52 45 | 50 45 41 54 41 53 4b 0d | into RE|PEATASK.|
|00001d80| 65 6c 73 65 20 69 66 20 | 4e 65 77 4c 65 76 65 6c |else if |NewLevel|
|00001d90| 20 3c 20 31 20 6f 72 20 | 4e 65 77 4c 65 76 65 6c | < 1 or |NewLevel|
|00001da0| 20 3e 20 4d 41 58 5f 4c | 45 56 45 4c 20 74 68 65 | > MAX_L|EVEL the|
|00001db0| 6e 0d 61 6e 73 77 65 72 | 20 22 4c 65 76 65 6c 20 |n.answer| "Level |
|00001dc0| 6d 75 73 74 20 62 65 20 | 66 72 6f 6d 20 31 20 74 |must be |from 1 t|
|00001dd0| 6f 22 26 26 4d 41 58 5f | 4c 45 56 45 4c 0d 65 6c |o"&&MAX_|LEVEL.el|
|00001de0| 73 65 20 69 66 20 6c 65 | 6e 67 74 68 28 4e 65 77 |se if le|ngth(New|
|00001df0| 4c 65 76 65 6c 29 20 3e | 20 31 20 74 68 65 6e 0d |Level) >| 1 then.|
|00001e00| 61 6e 73 77 65 72 20 22 | 49 20 6e 65 65 64 20 61 |answer "|I need a|
|00001e10| 20 6e 75 6d 62 65 72 20 | 66 6f 72 20 6c 65 76 65 | number |for leve|
|00001e20| 6c 2e 22 0d 65 6c 73 65 | 0d 70 75 74 20 69 74 20 |l.".else|.put it |
|00001e30| 69 6e 74 6f 20 4e 65 77 | 4c 65 76 65 6c 0d 70 75 |into New|Level.pu|
|00001e40| 74 20 46 41 4c 53 45 20 | 69 6e 74 6f 20 52 45 50 |t FALSE |into REP|
|00001e50| 45 41 54 41 53 4b 0d 65 | 6e 64 20 69 66 0d 65 6e |EATASK.e|nd if.en|
|00001e60| 64 20 72 65 70 65 61 74 | 0d 72 65 74 75 72 6e 20 |d repeat|.return |
|00001e70| 4e 65 77 4c 65 76 65 6c | 0d 65 6e 64 20 41 73 6b |NewLevel|.end Ask|
|00001e80| 46 6f 72 4c 65 76 65 6c | 0d 0d 6f 6e 20 53 68 6f |ForLevel|..on Sho|
|00001e90| 77 48 65 6c 70 20 54 68 | 65 46 49 45 4c 44 2c 42 |wHelp Th|eFIELD,B|
|00001ea0| 75 74 74 6f 6e 0d 67 6c | 6f 62 61 6c 20 4d 41 49 |utton.gl|obal MAI|
|00001eb0| 4e 53 43 52 45 45 4e 0d | 70 75 74 20 63 64 20 66 |NSCREEN.|put cd f|
|00001ec0| 6c 64 20 54 68 65 46 49 | 45 4c 44 20 6f 66 20 63 |ld TheFI|ELD of c|
|00001ed0| 64 20 69 64 20 4d 41 49 | 4e 53 43 52 45 45 4e 20 |d id MAI|NSCREEN |
|00001ee0| 69 6e 74 6f 20 54 68 65 | 48 45 4c 50 0d 69 66 20 |into The|HELP.if |
|00001ef0| 54 68 65 48 45 4c 50 20 | 69 73 20 6e 6f 74 20 62 |TheHELP |is not b|
|00001f00| 67 20 66 6c 64 20 22 48 | 65 6c 70 20 46 69 65 6c |g fld "H|elp Fiel|
|00001f10| 64 22 20 74 68 65 6e 0d | 6c 6f 63 6b 20 73 63 72 |d" then.|lock scr|
|00001f20| 65 65 6e 0d 2d 2d 73 65 | 74 20 74 68 65 20 73 63 |een.--se|t the sc|
|00001f30| 72 6f 6c 6c 20 6f 66 20 | 62 67 20 66 6c 64 20 22 |roll of |bg fld "|
|00001f40| 48 65 6c 70 20 46 69 65 | 6c 64 22 20 74 6f 20 30 |Help Fie|ld" to 0|
|00001f50| 0d 70 75 74 20 74 68 65 | 20 72 65 63 74 20 6f 66 |.put the| rect of|
|00001f60| 20 62 67 20 66 6c 64 20 | 22 48 65 6c 70 20 46 69 | bg fld |"Help Fi|
|00001f70| 65 6c 64 22 20 69 6e 74 | 6f 20 48 45 4c 50 52 45 |eld" int|o HELPRE|
|00001f80| 43 54 0d 69 66 20 42 75 | 74 74 6f 6e 20 69 73 20 |CT.if Bu|tton is |
|00001f90| 46 41 4c 53 45 20 74 68 | 65 6e 0d 70 75 74 20 74 |FALSE th|en.put t|
|00001fa0| 68 65 20 62 6f 74 74 6f | 6d 20 6f 66 20 62 67 20 |he botto|m of bg |
|00001fb0| 66 6c 64 20 54 68 65 46 | 49 45 4c 44 20 69 6e 74 |fld TheF|IELD int|
|00001fc0| 6f 20 42 54 4e 42 4f 54 | 54 4f 4d 0d 70 75 74 20 |o BTNBOT|TOM.put |
|00001fd0| 74 68 65 20 6c 65 66 74 | 20 6f 66 20 62 67 20 66 |the left| of bg f|
|00001fe0| 6c 64 20 54 68 65 46 49 | 45 4c 44 20 69 6e 74 6f |ld TheFI|ELD into|
|00001ff0| 20 42 54 4e 4c 45 46 54 | 0d 65 6c 73 65 0d 70 75 | BTNLEFT|.else.pu|
|00002000| 74 20 74 68 65 20 62 6f | 74 74 6f 6d 20 6f 66 20 |t the bo|ttom of |
|00002010| 62 67 20 62 74 6e 20 54 | 68 65 46 49 45 4c 44 20 |bg btn T|heFIELD |
|00002020| 69 6e 74 6f 20 42 54 4e | 42 4f 54 54 4f 4d 0d 70 |into BTN|BOTTOM.p|
|00002030| 75 74 20 74 68 65 20 6c | 65 66 74 20 6f 66 20 62 |ut the l|eft of b|
|00002040| 67 20 62 74 6e 20 54 68 | 65 46 49 45 4c 44 20 69 |g btn Th|eFIELD i|
|00002050| 6e 74 6f 20 42 54 4e 4c | 45 46 54 0d 65 6e 64 20 |nto BTNL|EFT.end |
|00002060| 69 66 0d 69 66 20 42 54 | 4e 42 4f 54 54 4f 4d 20 |if.if BT|NBOTTOM |
|00002070| 3e 20 32 34 30 20 74 68 | 65 6e 0d 2d 2d 20 73 65 |> 240 th|en.-- se|
|00002080| 74 20 74 68 65 20 62 6f | 74 74 6f 6d 20 74 6f 20 |t the bo|ttom to |
|00002090| 74 68 65 20 62 6f 74 74 | 6f 6d 0d 61 64 64 20 28 |the bott|om.add (|
|000020a0| 42 54 4e 42 4f 54 54 4f | 4d 2d 69 74 65 6d 20 34 |BTNBOTTO|M-item 4|
|000020b0| 20 6f 66 20 48 45 4c 50 | 52 45 43 54 29 20 74 6f | of HELP|RECT) to|
|000020c0| 20 69 74 65 6d 20 32 20 | 6f 66 20 48 45 4c 50 52 | item 2 |of HELPR|
|000020d0| 45 43 54 0d 70 75 74 20 | 42 54 4e 42 4f 54 54 4f |ECT.put |BTNBOTTO|
|000020e0| 4d 20 69 6e 74 6f 20 69 | 74 65 6d 20 34 20 6f 66 |M into i|tem 4 of|
|000020f0| 20 48 45 4c 50 52 45 43 | 54 0d 65 6c 73 65 0d 2d | HELPREC|T.else.-|
|00002100| 2d 20 73 65 74 20 74 68 | 65 20 74 6f 70 20 74 6f |- set th|e top to|
|00002110| 20 74 68 65 20 74 6f 70 | 0d 61 64 64 20 28 42 54 | the top|.add (BT|
|00002120| 4e 42 4f 54 54 4f 4d 2d | 69 74 65 6d 20 32 20 6f |NBOTTOM-|item 2 o|
|00002130| 66 20 48 45 4c 50 52 45 | 43 54 29 20 74 6f 20 69 |f HELPRE|CT) to i|
|00002140| 74 65 6d 20 34 20 6f 66 | 20 48 45 4c 50 52 45 43 |tem 4 of| HELPREC|
|00002150| 54 0d 70 75 74 20 42 54 | 4e 42 4f 54 54 4f 4d 20 |T.put BT|NBOTTOM |
|00002160| 69 6e 74 6f 20 69 74 65 | 6d 20 32 20 6f 66 20 48 |into ite|m 2 of H|
|00002170| 45 4c 50 52 45 43 54 0d | 65 6e 64 20 69 66 0d 69 |ELPRECT.|end if.i|
|00002180| 66 20 42 54 4e 4c 45 46 | 54 20 3e 20 32 35 30 20 |f BTNLEF|T > 250 |
|00002190| 74 68 65 6e 0d 2d 2d 20 | 73 65 74 20 74 68 65 20 |then.-- |set the |
|000021a0| 72 69 67 68 74 20 74 6f | 20 74 68 65 20 72 69 67 |right to| the rig|
|000021b0| 68 74 0d 61 64 64 20 28 | 42 54 4e 4c 45 46 54 2d |ht.add (|BTNLEFT-|
|000021c0| 69 74 65 6d 20 33 20 6f | 66 20 48 45 4c 50 52 45 |item 3 o|f HELPRE|
|000021d0| 43 54 29 20 74 6f 20 69 | 74 65 6d 20 31 20 6f 66 |CT) to i|tem 1 of|
|000021e0| 20 48 45 4c 50 52 45 43 | 54 0d 70 75 74 20 42 54 | HELPREC|T.put BT|
|000021f0| 4e 4c 45 46 54 20 69 6e | 74 6f 20 69 74 65 6d 20 |NLEFT in|to item |
|00002200| 33 20 6f 66 20 48 45 4c | 50 52 45 43 54 0d 65 6c |3 of HEL|PRECT.el|
|00002210| 73 65 0d 2d 2d 20 73 65 | 74 20 74 68 65 20 6c 65 |se.-- se|t the le|
|00002220| 66 74 20 74 6f 20 74 68 | 65 20 6c 65 66 74 0d 61 |ft to th|e left.a|
|00002230| 64 64 20 28 42 54 4e 4c | 45 46 54 2d 69 74 65 6d |dd (BTNL|EFT-item|
|00002240| 20 31 20 6f 66 20 48 45 | 4c 50 52 45 43 54 29 20 | 1 of HE|LPRECT) |
|00002250| 74 6f 20 69 74 65 6d 20 | 33 20 6f 66 20 48 45 4c |to item |3 of HEL|
|00002260| 50 52 45 43 54 0d 70 75 | 74 20 42 54 4e 4c 45 46 |PRECT.pu|t BTNLEF|
|00002270| 54 20 69 6e 74 6f 20 69 | 74 65 6d 20 31 20 6f 66 |T into i|tem 1 of|
|00002280| 20 48 45 4c 50 52 45 43 | 54 0d 65 6e 64 20 69 66 | HELPREC|T.end if|
|00002290| 0d 73 65 74 20 74 68 65 | 20 72 65 63 74 20 6f 66 |.set the| rect of|
|000022a0| 20 62 67 20 66 6c 64 20 | 22 48 65 6c 70 20 46 69 | bg fld |"Help Fi|
|000022b0| 65 6c 64 22 20 74 6f 20 | 48 45 4c 50 52 45 43 54 |eld" to |HELPRECT|
|000022c0| 0d 70 75 74 20 54 68 65 | 48 45 4c 50 20 69 6e 74 |.put The|HELP int|
|000022d0| 6f 20 62 67 20 66 6c 64 | 20 22 48 65 6c 70 20 46 |o bg fld| "Help F|
|000022e0| 69 65 6c 64 22 0d 75 6e | 6c 6f 63 6b 20 73 63 72 |ield".un|lock scr|
|000022f0| 65 65 6e 0d 62 65 65 70 | 0d 65 6e 64 20 69 66 0d |een.beep|.end if.|
|00002300| 73 68 6f 77 20 62 67 20 | 66 6c 64 20 22 48 65 6c |show bg |fld "Hel|
|00002310| 70 20 46 69 65 6c 64 22 | 0d 65 6e 64 20 53 68 6f |p Field"|.end Sho|
|00002320| 77 48 65 6c 70 0d 0d 6f | 6e 20 63 6d 64 6b 65 79 |wHelp..o|n cmdkey|
|00002330| 20 54 68 65 4b 45 59 0d | 61 6e 73 77 65 72 20 54 | TheKEY.|answer T|
|00002340| 68 65 4b 45 59 0d 65 6e | 64 20 63 6d 64 6b 65 79 |heKEY.en|d cmdkey|
|00002350| 0d 0d 6f 6e 20 61 72 72 | 6f 77 4b 65 79 0d 70 75 |..on arr|owKey.pu|
|00002360| 74 20 74 68 65 20 74 65 | 78 74 61 72 72 6f 77 73 |t the te|xtarrows|
|00002370| 20 69 6e 74 6f 20 41 52 | 52 4f 57 53 41 56 45 0d | into AR|ROWSAVE.|
|00002380| 69 66 20 77 6f 72 64 20 | 31 20 6f 66 20 74 68 65 |if word |1 of the|
|00002390| 20 73 65 6c 65 63 74 65 | 64 43 68 75 6e 6b 20 69 | selecte|dChunk i|
|000023a0| 73 20 22 63 68 61 72 22 | 20 74 68 65 6e 0d 73 65 |s "char"| then.se|
|000023b0| 74 20 74 68 65 20 74 65 | 78 74 61 72 72 6f 77 73 |t the te|xtarrows|
|000023c0| 20 74 6f 20 74 72 75 65 | 0d 70 61 73 73 20 61 72 | to true|.pass ar|
|000023d0| 72 6f 77 4b 65 79 0d 65 | 6e 64 20 69 66 0d 73 65 |rowKey.e|nd if.se|
|000023e0| 74 20 74 68 65 20 74 65 | 78 74 61 72 72 6f 77 73 |t the te|xtarrows|
|000023f0| 20 74 6f 20 41 52 52 4f | 57 53 41 56 45 0d 65 6e | to ARRO|WSAVE.en|
|00002400| 64 20 61 72 72 6f 77 4b | 65 79 0d 0d 0d 66 75 6e |d arrowK|ey...fun|
|00002410| 63 74 69 6f 6e 20 64 65 | 6c 46 69 65 6c 64 20 54 |ction de|lField T|
|00002420| 68 65 46 69 65 6c 64 0d | 70 75 74 20 74 68 65 20 |heField.|put the |
|00002430| 75 73 65 72 6c 65 76 65 | 6c 20 69 6e 74 6f 20 53 |userleve|l into S|
|00002440| 61 76 65 64 4c 65 76 65 | 6c 0d 73 65 74 20 74 68 |avedLeve|l.set th|
|00002450| 65 20 75 73 65 72 6c 65 | 76 65 6c 20 74 6f 20 35 |e userle|vel to 5|
|00002460| 0d 73 65 6c 65 63 74 20 | 63 64 20 66 6c 64 20 54 |.select |cd fld T|
|00002470| 68 65 46 69 65 6c 64 0d | 64 6f 6d 65 6e 75 20 22 |heField.|domenu "|
|00002480| 63 6c 65 61 72 20 66 69 | 65 6c 64 22 0d 63 68 6f |clear fi|eld".cho|
|00002490| 6f 73 65 20 62 72 6f 77 | 73 65 20 74 6f 6f 6c 0d |ose brow|se tool.|
|000024a0| 73 65 74 20 74 68 65 20 | 75 73 65 72 6c 65 76 65 |set the |userleve|
|000024b0| 6c 20 74 6f 20 53 61 76 | 65 64 4c 65 76 65 6c 0d |l to Sav|edLevel.|
|000024c0| 65 6e 64 20 64 65 6c 46 | 69 65 6c 64 0d 0d 0d 2d |end delF|ield...-|
|000024d0| 2d 20 54 68 69 73 20 69 | 6d 70 6f 72 74 73 20 73 |- This i|mports s|
|000024e0| 70 65 6c 6c 73 2c 20 61 | 6e 64 20 77 69 6c 6c 20 |pells, a|nd will |
|000024f0| 61 6c 73 6f 20 73 65 72 | 76 65 20 74 6f 20 55 70 |also ser|ve to Up|
|00002500| 64 61 74 65 20 66 6f 72 | 20 6e 65 77 65 72 0d 2d |date for| newer.-|
|00002510| 2d 20 76 65 72 73 69 6f | 6e 73 20 6f 66 20 74 68 |- versio|ns of th|
|00002520| 65 20 4d 61 67 69 63 20 | 53 74 61 63 6b 0d 6f 6e |e Magic |Stack.on|
|00002530| 20 55 70 64 61 74 65 20 | 4f 4c 44 5f 49 44 2c 4e | Update |OLD_ID,N|
|00002540| 45 57 5f 49 44 2c 4f 4c | 44 46 49 45 4c 44 53 2c |EW_ID,OL|DFIELDS,|
|00002550| 4e 45 57 46 49 45 4c 44 | 53 0d 72 65 70 65 61 74 |NEWFIELD|S.repeat|
|00002560| 20 77 69 74 68 20 43 4f | 55 4e 54 3d 31 20 74 6f | with CO|UNT=1 to|
|00002570| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6c | the num|ber of l|
|00002580| 69 6e 65 73 20 6f 66 20 | 4f 4c 44 46 49 45 4c 44 |ines of |OLDFIELD|
|00002590| 53 0d 70 75 74 20 6c 69 | 6e 65 20 43 4f 55 4e 54 |S.put li|ne COUNT|
|000025a0| 20 6f 66 20 4f 4c 44 46 | 49 45 4c 44 53 20 69 6e | of OLDF|IELDS in|
|000025b0| 74 6f 20 43 55 52 52 45 | 4e 54 5f 46 49 45 4c 44 |to CURRE|NT_FIELD|
|000025c0| 0d 69 66 20 49 73 4c 69 | 6e 65 49 6e 28 43 55 52 |.if IsLi|neIn(CUR|
|000025d0| 52 45 4e 54 5f 46 49 45 | 4c 44 2c 4e 45 57 46 49 |RENT_FIE|LD,NEWFI|
|000025e0| 45 4c 44 53 29 20 74 68 | 65 6e 0d 70 75 74 20 62 |ELDS) th|en.put b|
|000025f0| 67 20 66 6c 64 20 43 55 | 52 52 45 4e 54 5f 46 49 |g fld CU|RRENT_FI|
|00002600| 45 4c 44 20 6f 66 20 63 | 64 20 69 64 20 4f 4c 44 |ELD of c|d id OLD|
|00002610| 5f 49 44 20 69 6e 74 6f | c2 0d 62 67 20 66 6c 64 |_ID into|..bg fld|
|00002620| 20 43 55 52 52 45 4e 54 | 5f 46 49 45 4c 44 20 6f | CURRENT|_FIELD o|
|00002630| 66 20 63 64 20 69 64 20 | 4e 45 57 5f 49 44 0d 65 |f cd id |NEW_ID.e|
|00002640| 6e 64 20 69 66 0d 0d 65 | 6e 64 20 72 65 70 65 61 |nd if..e|nd repea|
|00002650| 74 0d 65 6e 64 20 55 70 | 64 61 74 65 0d 0d 66 75 |t.end Up|date..fu|
|00002660| 6e 63 74 69 6f 6e 20 49 | 73 4c 69 6e 65 49 6e 20 |nction I|sLineIn |
|00002670| 54 68 65 4c 69 6e 65 2c | 54 68 65 4c 69 73 74 0d |TheLine,|TheList.|
|00002680| 70 75 74 20 6f 66 66 73 | 65 74 28 54 68 65 4c 69 |put offs|et(TheLi|
|00002690| 6e 65 2c 54 68 65 4c 69 | 73 74 29 20 69 6e 74 6f |ne,TheLi|st) into|
|000026a0| 20 54 68 65 4c 4f 43 0d | 70 75 74 20 73 70 61 63 | TheLOC.|put spac|
|000026b0| 65 20 69 6e 74 6f 20 45 | 6e 64 43 68 61 72 0d 70 |e into E|ndChar.p|
|000026c0| 75 74 20 73 70 61 63 65 | 20 69 6e 74 6f 20 53 74 |ut space| into St|
|000026d0| 61 72 74 43 68 61 72 0d | 69 66 20 54 68 65 4c 4f |artChar.|if TheLO|
|000026e0| 43 20 69 73 20 6e 6f 74 | 20 30 20 74 68 65 6e 0d |C is not| 0 then.|
|000026f0| 70 75 74 20 72 65 74 75 | 72 6e 20 69 6e 74 6f 20 |put retu|rn into |
|00002700| 45 6e 64 43 68 61 72 0d | 70 75 74 20 72 65 74 75 |EndChar.|put retu|
|00002710| 72 6e 20 69 6e 74 6f 20 | 53 74 61 72 74 43 68 61 |rn into |StartCha|
|00002720| 72 0d 0d 2d 2d 20 73 65 | 65 20 69 66 20 74 68 65 |r..-- se|e if the|
|00002730| 20 73 74 61 72 74 20 62 | 65 67 69 6e 73 20 61 20 | start b|egins a |
|00002740| 6c 69 6e 65 0d 69 66 20 | 54 68 65 4c 4f 43 20 3e |line.if |TheLOC >|
|00002750| 20 31 20 74 68 65 6e 0d | 70 75 74 20 63 68 61 72 | 1 then.|put char|
|00002760| 20 28 54 68 65 4c 4f 43 | 2d 31 29 20 6f 66 20 54 | (TheLOC|-1) of T|
|00002770| 68 65 4c 49 53 54 20 69 | 6e 74 6f 20 53 74 61 72 |heLIST i|nto Star|
|00002780| 74 43 68 61 72 0d 65 6e | 64 20 69 66 0d 0d 2d 2d |tChar.en|d if..--|
|00002790| 20 73 65 65 20 69 66 20 | 74 68 65 20 65 6e 64 20 | see if |the end |
|000027a0| 65 6e 64 73 20 61 20 6c | 69 6e 65 0d 69 66 20 28 |ends a l|ine.if (|
|000027b0| 54 68 65 4c 4f 43 20 2b | 20 6c 65 6e 67 74 68 28 |TheLOC +| length(|
|000027c0| 54 68 65 4c 49 4e 45 29 | 29 20 3c 20 6c 65 6e 67 |TheLINE)|) < leng|
|000027d0| 74 68 28 54 68 65 4c 49 | 53 54 29 20 74 68 65 6e |th(TheLI|ST) then|
|000027e0| 0d 70 75 74 20 63 68 61 | 72 20 28 54 68 65 4c 4f |.put cha|r (TheLO|
|000027f0| 43 2b 6c 65 6e 67 74 68 | 28 54 68 65 4c 49 4e 45 |C+length|(TheLINE|
|00002800| 29 29 20 6f 66 20 54 68 | 65 4c 49 53 54 20 69 6e |)) of Th|eLIST in|
|00002810| 74 6f 20 45 6e 64 43 68 | 61 72 0d 65 6e 64 20 69 |to EndCh|ar.end i|
|00002820| 66 0d 65 6e 64 20 69 66 | 0d 70 75 74 20 45 6e 64 |f.end if|.put End|
|00002830| 43 68 61 72 20 69 73 20 | 72 65 74 75 72 6e 20 61 |Char is |return a|
|00002840| 6e 64 20 53 74 61 72 74 | 43 68 61 72 20 69 73 20 |nd Start|Char is |
|00002850| 72 65 74 75 72 6e 20 69 | 6e 74 6f 20 49 73 54 68 |return i|nto IsTh|
|00002860| 65 72 65 0d 72 65 74 75 | 72 6e 20 49 73 54 68 65 |ere.retu|rn IsThe|
|00002870| 72 65 0d 65 6e 64 20 49 | 73 4c 69 6e 65 49 6e 0d |re.end I|sLineIn.|
|00002880| 0d 2d 2d 20 74 68 69 73 | 20 63 6f 6d 6d 61 6e 64 |.-- this| command|
|00002890| 20 61 64 64 73 20 74 68 | 65 20 63 75 72 72 65 6e | adds th|e curren|
|000028a0| 74 20 63 61 72 64 20 74 | 6f 20 74 68 65 20 6c 69 |t card t|o the li|
|000028b0| 73 74 73 20 6f 66 20 73 | 70 65 6c 6c 73 0d 2d 2d |sts of s|pells.--|
|000028c0| 20 64 6f 6e 27 74 20 66 | 6f 72 67 65 74 20 74 68 | don't f|orget th|
|000028d0| 61 74 20 61 64 64 69 6e | 67 2f 63 68 61 6e 67 69 |at addin|g/changi|
|000028e0| 6e 67 20 61 20 73 70 65 | 6c 6c 27 73 20 63 6c 61 |ng a spe|ll's cla|
|000028f0| 73 73 28 65 73 29 20 64 | 6f 65 73 20 69 74 27 73 |ss(es) d|oes it's|
|00002900| 20 6f 77 6e 0d 2d 2d 20 | 20 20 20 20 20 73 70 65 | own.-- | spe|
|00002910| 63 69 66 69 63 20 76 65 | 72 73 69 6f 6e 20 6f 66 |cific ve|rsion of|
|00002920| 20 74 68 69 73 2c 20 6a | 75 73 74 20 66 6f 72 20 | this, j|ust for |
|00002930| 74 68 65 20 61 64 64 69 | 74 69 6f 6e 0d 6f 6e 20 |the addi|tion.on |
|00002940| 41 44 44 5f 54 48 49 53 | 5f 43 41 52 44 0d 70 75 |ADD_THIS|_CARD.pu|
|00002950| 74 20 74 68 65 20 73 68 | 6f 72 74 20 69 64 20 6f |t the sh|ort id o|
|00002960| 66 20 74 68 69 73 20 63 | 61 72 64 20 69 6e 74 6f |f this c|ard into|
|00002970| 20 4e 45 57 5f 49 44 0d | 70 75 74 20 62 67 20 66 | NEW_ID.|put bg f|
|00002980| 6c 64 20 22 4e 61 6d 65 | 22 20 69 6e 74 6f 20 4e |ld "Name|" into N|
|00002990| 45 57 5f 4e 41 4d 45 0d | 70 75 74 20 62 67 20 66 |EW_NAME.|put bg f|
|000029a0| 6c 64 20 22 4c 65 76 65 | 6c 22 20 69 6e 74 6f 20 |ld "Leve|l" into |
|000029b0| 4e 45 57 5f 4c 45 56 45 | 4c 0d 73 65 74 20 74 68 |NEW_LEVE|L.set th|
|000029c0| 65 20 63 61 6e 74 64 65 | 6c 65 74 65 20 6f 66 20 |e cantde|lete of |
|000029d0| 74 68 69 73 20 63 61 72 | 64 20 74 6f 20 66 61 6c |this car|d to fal|
|000029e0| 73 65 0d 70 75 74 20 62 | 67 20 66 6c 64 20 22 43 |se.put b|g fld "C|
|000029f0| 6c 61 73 73 22 20 69 6e | 74 6f 20 4e 45 57 5f 43 |lass" in|to NEW_C|
|00002a00| 4c 41 53 53 0d 72 65 70 | 65 61 74 20 77 69 74 68 |LASS.rep|eat with|
|00002a10| 20 43 4f 55 4e 54 3d 31 | 20 74 6f 20 74 68 65 20 | COUNT=1| to the |
|00002a20| 6e 75 6d 62 65 72 20 6f | 66 20 69 74 65 6d 73 20 |number o|f items |
|00002a30| 6f 66 20 4e 45 57 5f 43 | 4c 41 53 53 0d 70 75 74 |of NEW_C|LASS.put|
|00002a40| 20 69 74 65 6d 20 43 4f | 55 4e 54 20 6f 66 20 4e | item CO|UNT of N|
|00002a50| 45 57 5f 43 4c 41 53 53 | 20 69 6e 74 6f 20 43 4c |EW_CLASS| into CL|
|00002a60| 41 53 53 5f 4e 41 4d 45 | 0d 70 75 74 20 43 4c 41 |ASS_NAME|.put CLA|
|00002a70| 53 53 5f 4e 41 4d 45 26 | 22 41 6c 70 68 61 62 65 |SS_NAME&|"Alphabe|
|00002a80| 74 69 63 61 6c 22 20 69 | 6e 74 6f 20 4e 41 4d 45 |tical" i|nto NAME|
|00002a90| 5f 46 49 45 4c 44 0d 70 | 75 74 20 43 4c 41 53 53 |_FIELD.p|ut CLASS|
|00002aa0| 5f 4e 41 4d 45 26 26 22 | 4c 65 76 65 6c 22 26 26 |_NAME&&"|Level"&&|
|00002ab0| 4e 45 57 5f 4c 45 56 45 | 4c 20 69 6e 74 6f 20 4c |NEW_LEVE|L into L|
|00002ac0| 45 56 45 4c 5f 46 49 45 | 4c 44 0d 70 75 74 20 4c |EVEL_FIE|LD.put L|
|00002ad0| 45 56 45 4c 5f 46 49 45 | 4c 44 26 26 22 49 44 73 |EVEL_FIE|LD&&"IDs|
|00002ae0| 22 20 69 6e 74 6f 20 4c | 45 56 45 4c 5f 49 44 5f |" into L|EVEL_ID_|
|00002af0| 46 49 45 4c 44 0d 70 75 | 74 20 43 4c 41 53 53 5f |FIELD.pu|t CLASS_|
|00002b00| 4e 41 4d 45 26 22 41 6c | 70 68 61 4c 69 6e 6b 49 |NAME&"Al|phaLinkI|
|00002b10| 44 73 22 20 69 6e 74 6f | 20 49 44 5f 46 49 45 4c |Ds" into| ID_FIEL|
|00002b20| 44 0d 67 65 74 20 41 64 | 64 5f 4c 69 73 74 28 4e |D.get Ad|d_List(N|
|00002b30| 45 57 5f 4e 41 4d 45 2c | 4e 45 57 5f 49 44 2c 4e |EW_NAME,|NEW_ID,N|
|00002b40| 41 4d 45 5f 46 49 45 4c | 44 2c 49 44 5f 46 49 45 |AME_FIEL|D,ID_FIE|
|00002b50| 4c 44 29 0d 67 65 74 20 | 41 64 64 5f 4c 69 73 74 |LD).get |Add_List|
|00002b60| 28 4e 45 57 5f 4e 41 4d | 45 2c 4e 45 57 5f 49 44 |(NEW_NAM|E,NEW_ID|
|00002b70| 2c 4c 45 56 45 4c 5f 46 | 49 45 4c 44 2c 4c 45 56 |,LEVEL_F|IELD,LEV|
|00002b80| 45 4c 5f 49 44 5f 46 49 | 45 4c 44 29 0d 65 6e 64 |EL_ID_FI|ELD).end|
|00002b90| 20 72 65 70 65 61 74 0d | 70 75 74 20 22 4c 65 76 | repeat.|put "Lev|
|00002ba0| 65 6c 22 26 26 4e 45 57 | 5f 4c 45 56 45 4c 20 69 |el"&&NEW|_LEVEL i|
|00002bb0| 6e 74 6f 20 4c 45 56 45 | 4c 5f 46 49 45 4c 44 0d |nto LEVE|L_FIELD.|
|00002bc0| 70 75 74 20 4c 45 56 45 | 4c 5f 46 49 45 4c 44 26 |put LEVE|L_FIELD&|
|00002bd0| 26 22 49 44 73 22 20 69 | 6e 74 6f 20 4c 45 56 45 |&"IDs" i|nto LEVE|
|00002be0| 4c 5f 49 44 5f 46 49 45 | 4c 44 0d 67 65 74 20 41 |L_ID_FIE|LD.get A|
|00002bf0| 64 64 5f 4c 69 73 74 28 | 4e 45 57 5f 4e 41 4d 45 |dd_List(|NEW_NAME|
|00002c00| 2c 4e 45 57 5f 49 44 2c | 22 41 6c 70 68 61 62 65 |,NEW_ID,|"Alphabe|
|00002c10| 74 69 63 61 6c 22 2c 22 | 41 6c 70 68 61 4c 69 6e |tical","|AlphaLin|
|00002c20| 6b 49 44 73 22 29 0d 67 | 65 74 20 41 64 64 5f 4c |kIDs").g|et Add_L|
|00002c30| 69 73 74 28 4e 45 57 5f | 4e 41 4d 45 2c 4e 45 57 |ist(NEW_|NAME,NEW|
|00002c40| 5f 49 44 2c 4c 45 56 45 | 4c 5f 46 49 45 4c 44 2c |_ID,LEVE|L_FIELD,|
|00002c50| 4c 45 56 45 4c 5f 49 44 | 5f 46 49 45 4c 44 29 0d |LEVEL_ID|_FIELD).|
|00002c60| 67 65 74 20 41 64 64 5f | 43 68 6f 6f 73 65 72 28 |get Add_|Chooser(|
|00002c70| 4e 45 57 5f 4e 41 4d 45 | 2c 4e 45 57 5f 49 44 29 |NEW_NAME|,NEW_ID)|
|00002c80| 0d 65 6e 64 20 41 44 44 | 5f 54 48 49 53 5f 43 41 |.end ADD|_THIS_CA|
|00002c90| 52 44 0d 0d 2d 2d 20 6d | 61 6b 65 20 73 75 72 65 |RD..-- m|ake sure|
|00002ca0| 20 61 6c 6c 20 74 68 65 | 20 63 6c 61 73 73 65 73 | all the| classes|
|00002cb0| 20 74 68 61 74 20 75 73 | 65 20 74 68 69 73 20 73 | that us|e this s|
|00002cc0| 70 65 6c 6c 20 65 78 69 | 73 74 0d 2d 2d 20 70 72 |pell exi|st.-- pr|
|00002cd0| 6f 6d 70 74 20 75 73 65 | 72 20 74 6f 20 27 61 64 |ompt use|r to 'ad|
|00002ce0| 64 2c 20 64 65 6c 65 74 | 65 2c 20 6f 72 20 72 65 |d, delet|e, or re|
|00002cf0| 70 6c 61 63 65 27 20 69 | 66 20 69 74 20 64 6f 65 |place' i|f it doe|
|00002d00| 73 6e 27 74 0d 6f 6e 20 | 43 48 45 43 4b 5f 54 48 |sn't.on |CHECK_TH|
|00002d10| 49 53 5f 43 41 52 44 20 | 4e 65 77 43 6c 61 73 73 |IS_CARD |NewClass|
|00002d20| 4c 69 73 74 0d 67 6c 6f | 62 61 6c 20 4d 41 49 4e |List.glo|bal MAIN|
|00002d30| 53 43 52 45 45 4e 2c 52 | 45 50 4c 41 43 45 5f 4c |SCREEN,R|EPLACE_L|
|00002d40| 49 53 54 0d 70 75 74 20 | 31 20 69 6e 74 6f 20 54 |IST.put |1 into T|
|00002d50| 48 45 52 45 43 4c 41 53 | 53 0d 72 65 70 65 61 74 |HERECLAS|S.repeat|
|00002d60| 20 77 68 69 6c 65 20 54 | 48 45 52 45 43 4c 41 53 | while T|HERECLAS|
|00002d70| 53 20 3c 3d 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |S <= the| number |
|00002d80| 6f 66 20 69 74 65 6d 73 | 20 6f 66 20 62 67 20 66 |of items| of bg f|
|00002d90| 6c 64 20 22 43 6c 61 73 | 73 22 0d 70 75 74 20 54 |ld "Clas|s".put T|
|00002da0| 52 55 45 20 69 6e 74 6f | 20 4e 4f 50 45 5f 4e 4f |RUE into| NOPE_NO|
|00002db0| 54 5f 54 48 45 52 45 0d | 70 75 74 20 62 67 20 66 |T_THERE.|put bg f|
|00002dc0| 6c 64 20 22 43 6c 61 73 | 73 22 20 69 6e 74 6f 20 |ld "Clas|s" into |
|00002dd0| 53 50 45 4c 4c 43 4c 41 | 53 53 45 53 0d 70 75 74 |SPELLCLA|SSES.put|
|00002de0| 20 63 64 20 66 6c 64 20 | 22 43 6c 61 73 73 65 73 | cd fld |"Classes|
|00002df0| 22 20 6f 66 20 63 64 20 | 22 4c 69 73 74 73 22 20 |" of cd |"Lists" |
|00002e00| 69 6e 74 6f 20 54 68 65 | 43 4c 41 53 53 45 53 0d |into The|CLASSES.|
|00002e10| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|00002e20| 66 20 6c 69 6e 65 73 20 | 6f 66 20 54 68 65 43 4c |f lines |of TheCL|
|00002e30| 41 53 53 45 53 20 69 6e | 74 6f 20 4e 55 4d 43 4c |ASSES in|to NUMCL|
|00002e40| 41 53 53 45 53 0d 70 75 | 74 20 31 20 69 6e 74 6f |ASSES.pu|t 1 into|
|00002e50| 20 48 45 52 45 43 4c 41 | 53 53 0d 72 65 70 65 61 | HERECLA|SS.repea|
|00002e60| 74 20 77 68 69 6c 65 20 | 4e 4f 50 45 5f 4e 4f 54 |t while |NOPE_NOT|
|00002e70| 5f 54 48 45 52 45 20 61 | 6e 64 20 48 45 52 45 43 |_THERE a|nd HEREC|
|00002e80| 4c 41 53 53 20 3c 3d 20 | 4e 55 4d 43 4c 41 53 53 |LASS <= |NUMCLASS|
|00002e90| 45 53 0d 70 75 74 20 28 | 69 74 65 6d 20 54 48 45 |ES.put (|item THE|
|00002ea0| 52 45 43 4c 41 53 53 20 | 6f 66 20 53 50 45 4c 4c |RECLASS |of SPELL|
|00002eb0| 43 4c 41 53 53 45 53 29 | 20 69 73 20 6e 6f 74 c2 |CLASSES)| is not.|
|00002ec0| 0d 28 69 74 65 6d 20 31 | 20 6f 66 20 28 6c 69 6e |.(item 1| of (lin|
|00002ed0| 65 20 48 45 52 45 43 4c | 41 53 53 20 6f 66 20 54 |e HERECL|ASS of T|
|00002ee0| 68 65 43 4c 41 53 53 45 | 53 29 29 20 69 6e 74 6f |heCLASSE|S)) into|
|00002ef0| 20 4e 4f 50 45 5f 4e 4f | 54 5f 54 48 45 52 45 0d | NOPE_NO|T_THERE.|
|00002f00| 61 64 64 20 31 20 74 6f | 20 48 45 52 45 43 4c 41 |add 1 to| HERECLA|
|00002f10| 53 53 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 70 75 |SS.end r|epeat.pu|
|00002f20| 74 20 54 52 55 45 20 69 | 6e 74 6f 20 41 44 44 4f |t TRUE i|nto ADDO|
|00002f30| 4e 45 0d 69 66 20 4e 4f | 50 45 5f 4e 4f 54 5f 54 |NE.if NO|PE_NOT_T|
|00002f40| 48 45 52 45 20 74 68 65 | 6e 0d 2d 2d 20 69 74 20 |HERE the|n.-- it |
|00002f50| 64 6f 65 73 6e 27 74 20 | 65 78 69 73 74 0d 70 75 |doesn't |exist.pu|
|00002f60| 74 20 69 74 65 6d 20 54 | 48 45 52 45 43 4c 41 53 |t item T|HERECLAS|
|00002f70| 53 20 6f 66 20 53 50 45 | 4c 4c 43 4c 41 53 53 45 |S of SPE|LLCLASSE|
|00002f80| 53 20 69 6e 74 6f 20 47 | 48 4f 53 54 43 4c 41 53 |S into G|HOSTCLAS|
|00002f90| 53 0d 70 75 74 20 52 65 | 70 6c 61 63 65 6d 65 6e |S.put Re|placemen|
|00002fa0| 74 73 28 47 48 4f 53 54 | 43 4c 41 53 53 29 20 69 |ts(GHOST|CLASS) i|
|00002fb0| 6e 74 6f 20 54 68 65 43 | 48 4f 49 43 45 0d 69 66 |nto TheC|HOICE.if|
|00002fc0| 20 54 68 65 43 48 4f 49 | 43 45 20 69 73 20 22 4e | TheCHOI|CE is "N|
|00002fd0| 6f 74 20 48 65 72 65 22 | 20 74 68 65 6e 0d 61 6e |ot Here"| then.an|
|00002fe0| 73 77 65 72 20 22 43 6c | 61 73 73 22 26 26 47 48 |swer "Cl|ass"&&GH|
|00002ff0| 4f 53 54 43 4c 41 53 53 | 26 26 22 64 6f 65 73 20 |OSTCLASS|&&"does |
|00003000| 6e 6f 74 20 65 78 69 73 | 74 2e 22 0d 72 65 70 65 |not exis|t.".repe|
|00003010| 61 74 20 77 69 74 68 20 | 43 6f 75 6e 74 3d 31 20 |at with |Count=1 |
|00003020| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|00003030| 20 6c 69 6e 65 73 20 6f | 66 20 54 68 65 43 4c 41 | lines o|f TheCLA|
|00003040| 53 53 45 53 20 2d 31 0d | 70 75 74 20 69 74 65 6d |SSES -1.|put item|
|00003050| 20 31 20 6f 66 20 6c 69 | 6e 65 20 43 6f 75 6e 74 | 1 of li|ne Count|
|00003060| 20 6f 66 20 54 68 65 43 | 4c 41 53 53 45 53 20 69 | of TheC|LASSES i|
|00003070| 6e 74 6f 20 6c 69 6e 65 | 20 43 6f 75 6e 74 20 6f |nto line| Count o|
|00003080| 66 20 54 68 65 4c 69 73 | 74 0d 65 6e 64 20 72 65 |f TheLis|t.end re|
|00003090| 70 65 61 74 0d 72 65 70 | 65 61 74 20 75 6e 74 69 |peat.rep|eat unti|
|000030a0| 6c 20 54 68 65 43 48 4f | 49 43 45 20 69 73 20 22 |l TheCHO|ICE is "|
|000030b0| 43 72 65 61 74 65 22 20 | 6f 72 20 54 68 65 43 48 |Create" |or TheCH|
|000030c0| 4f 49 43 45 20 69 73 20 | 22 52 65 70 6c 61 63 65 |OICE is |"Replace|
|000030d0| 22 20 6f 72 c2 0d 54 68 | 65 43 48 4f 49 43 45 20 |" or..Th|eCHOICE |
|000030e0| 69 73 20 22 44 65 6c 65 | 74 65 22 0d 70 75 74 20 |is "Dele|te".put |
|000030f0| 65 6d 70 74 79 20 69 6e | 74 6f 20 54 68 65 52 65 |empty in|to TheRe|
|00003100| 70 6c 61 63 65 0d 61 6e | 73 77 65 72 20 22 43 72 |place.an|swer "Cr|
|00003110| 65 61 74 65 2c 20 72 65 | 70 6c 61 63 65 2c 20 6f |eate, re|place, o|
|00003120| 72 20 64 65 6c 65 74 65 | 22 26 26 47 48 4f 53 54 |r delete|"&&GHOST|
|00003130| 43 4c 41 53 53 26 22 3f | 22 20 77 69 74 68 20 22 |CLASS&"?|" with "|
|00003140| 43 72 65 61 74 65 22 20 | 6f 72 20 22 52 65 70 6c |Create" |or "Repl|
|00003150| 61 63 65 22 20 6f 72 20 | 22 44 65 6c 65 74 65 22 |ace" or |"Delete"|
|00003160| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 54 68 65 |.put it |into The|
|00003170| 43 48 4f 49 43 45 0d 69 | 66 20 54 68 65 43 48 4f |CHOICE.i|f TheCHO|
|00003180| 49 43 45 20 69 73 20 22 | 52 65 70 6c 61 63 65 22 |ICE is "|Replace"|
|00003190| 20 74 68 65 6e 0d 64 6f | 6c 69 73 74 20 22 52 65 | then.do|list "Re|
|000031a0| 70 6c 61 63 65 22 2c 22 | 43 61 6e 63 65 6c 22 2c |place","|Cancel",|
|000031b0| 54 68 65 4c 69 73 74 2c | 6f 6e 65 0d 69 66 20 74 |TheList,|one.if t|
|000031c0| 68 65 20 72 65 73 75 6c | 74 20 69 73 20 6e 6f 74 |he resul|t is not|
|000031d0| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 70 75 74 20 | empty t|hen.put |
|000031e0| 69 74 65 6d 20 32 20 6f | 66 20 74 68 65 20 72 65 |item 2 o|f the re|
|000031f0| 73 75 6c 74 20 69 6e 74 | 6f 20 54 68 65 52 65 70 |sult int|o TheRep|
|00003200| 6c 61 63 65 0d 70 75 74 | 20 22 52 65 70 6c 61 63 |lace.put| "Replac|
|00003210| 65 2c 22 26 47 48 4f 53 | 54 43 4c 41 53 53 26 22 |e,"&GHOS|TCLASS&"|
|00003220| 2c 22 26 54 68 65 52 65 | 70 6c 61 63 65 20 69 6e |,"&TheRe|place in|
|00003230| 74 6f 20 41 44 44 49 54 | 49 4f 4e 0d 70 75 74 20 |to ADDIT|ION.put |
|00003240| 41 44 44 49 54 49 4f 4e | 20 69 6e 74 6f c2 0d 6c |ADDITION| into..l|
|00003250| 69 6e 65 20 28 74 68 65 | 20 6e 75 6d 62 65 72 20 |ine (the| number |
|00003260| 6f 66 20 6c 69 6e 65 73 | 20 6f 66 20 52 45 50 4c |of lines| of REPL|
|00003270| 41 43 45 5f 4c 49 53 54 | 2b 31 29 20 6f 66 20 52 |ACE_LIST|+1) of R|
|00003280| 45 50 4c 41 43 45 5f 4c | 49 53 54 0d 65 6c 73 65 |EPLACE_L|IST.else|
|00003290| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|000032a0| 54 68 65 43 48 4f 49 43 | 45 0d 65 6e 64 20 69 66 |TheCHOIC|E.end if|
|000032b0| 0d 65 6c 73 65 20 69 66 | 20 54 68 65 43 48 4f 49 |.else if| TheCHOI|
|000032c0| 43 45 20 69 73 20 22 44 | 65 6c 65 74 65 22 20 74 |CE is "D|elete" t|
|000032d0| 68 65 6e 0d 70 75 74 20 | 22 44 65 6c 65 74 65 2c |hen.put |"Delete,|
|000032e0| 22 26 47 48 4f 53 54 43 | 4c 41 53 53 20 69 6e 74 |"&GHOSTC|LASS int|
|000032f0| 6f 20 41 44 44 49 54 49 | 4f 4e 0d 70 75 74 20 41 |o ADDITI|ON.put A|
|00003300| 44 44 49 54 49 4f 4e 20 | 69 6e 74 6f c2 0d 6c 69 |DDITION |into..li|
|00003310| 6e 65 20 28 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |ne (the |number o|
|00003320| 66 20 6c 69 6e 65 73 20 | 6f 66 20 52 45 50 4c 41 |f lines |of REPLA|
|00003330| 43 45 5f 4c 49 53 54 2b | 31 29 20 6f 66 20 52 45 |CE_LIST+|1) of RE|
|00003340| 50 4c 41 43 45 5f 4c 49 | 53 54 0d 65 6e 64 20 69 |PLACE_LI|ST.end i|
|00003350| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 73 65 74 |f.end re|peat.set|
|00003360| 20 74 68 65 20 63 75 72 | 73 6f 72 20 74 6f 20 77 | the cur|sor to w|
|00003370| 61 74 63 68 0d 52 65 6e | 65 77 53 63 72 65 65 6e |atch.Ren|ewScreen|
|00003380| 20 4d 41 49 4e 53 43 52 | 45 45 4e 0d 65 6c 73 65 | MAINSCR|EEN.else|
|00003390| 0d 70 75 74 20 69 74 65 | 6d 20 32 20 6f 66 20 54 |.put ite|m 2 of T|
|000033a0| 68 65 43 48 4f 49 43 45 | 20 69 6e 74 6f 20 54 68 |heCHOICE| into Th|
|000033b0| 65 52 65 70 6c 61 63 65 | 0d 64 65 6c 65 74 65 20 |eReplace|.delete |
|000033c0| 69 74 65 6d 20 32 20 6f | 66 20 54 68 65 43 48 4f |item 2 o|f TheCHO|
|000033d0| 49 43 45 0d 65 6e 64 20 | 69 66 0d 69 66 20 54 68 |ICE.end |if.if Th|
|000033e0| 65 43 48 4f 49 43 45 20 | 69 73 20 22 44 65 6c 65 |eCHOICE |is "Dele|
|000033f0| 74 65 22 20 74 68 65 6e | 0d 64 65 6c 65 74 65 20 |te" then|.delete |
|00003400| 69 74 65 6d 20 54 48 45 | 52 45 43 4c 41 53 53 20 |item THE|RECLASS |
|00003410| 6f 66 20 62 67 20 66 6c | 64 20 22 43 6c 61 73 73 |of bg fl|d "Class|
|00003420| 22 0d 70 75 74 20 46 41 | 4c 53 45 20 69 6e 74 6f |".put FA|LSE into|
|00003430| 20 41 44 44 4f 4e 45 0d | 65 6c 73 65 20 69 66 20 | ADDONE.|else if |
|00003440| 54 68 65 43 48 4f 49 43 | 45 20 69 73 20 22 43 72 |TheCHOIC|E is "Cr|
|00003450| 65 61 74 65 22 20 74 68 | 65 6e 0d 50 75 74 20 31 |eate" th|en.Put 1|
|00003460| 20 69 6e 74 6f 20 4e 65 | 77 43 6c 61 73 73 4e 75 | into Ne|wClassNu|
|00003470| 6d 0d 72 65 70 65 61 74 | 20 75 6e 74 69 6c c2 0d |m.repeat| until..|
|00003480| 28 69 74 65 6d 20 31 20 | 6f 66 20 6c 69 6e 65 20 |(item 1 |of line |
|00003490| 4e 65 77 43 6c 61 73 73 | 4e 75 6d 20 6f 66 20 4e |NewClass|Num of N|
|000034a0| 65 77 43 6c 61 73 73 4c | 69 73 74 29 20 69 73 20 |ewClassL|ist) is |
|000034b0| 47 48 4f 53 54 43 4c 41 | 53 53 20 6f 72 c2 0d 4e |GHOSTCLA|SS or..N|
|000034c0| 65 77 43 6c 61 73 73 4e | 75 6d 3e 20 74 68 65 20 |ewClassN|um> the |
|000034d0| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|000034e0| 6f 66 20 4e 65 77 43 6c | 61 73 73 4c 69 73 74 0d |of NewCl|assList.|
|000034f0| 61 64 64 20 31 20 74 6f | 20 4e 65 77 43 6c 61 73 |add 1 to| NewClas|
|00003500| 73 4e 75 6d 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |sNum.end| repeat.|
|00003510| 69 66 20 4e 65 77 43 6c | 61 73 73 4e 75 6d 3e 20 |if NewCl|assNum> |
|00003520| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00003530| 6e 65 73 20 6f 66 20 4e | 65 77 43 6c 61 73 73 4c |nes of N|ewClassL|
|00003540| 69 73 74 20 74 68 65 6e | 0d 70 75 74 20 22 4e 6f |ist then|.put "No|
|00003550| 6e 65 22 20 69 6e 74 6f | 20 4e 65 77 54 79 70 65 |ne" into| NewType|
|00003560| 0d 65 6c 73 65 0d 70 75 | 74 20 28 69 74 65 6d 20 |.else.pu|t (item |
|00003570| 32 20 6f 66 20 6c 69 6e | 65 20 4e 65 77 43 6c 61 |2 of lin|e NewCla|
|00003580| 73 73 4e 75 6d 20 6f 66 | 20 4e 65 77 43 6c 61 73 |ssNum of| NewClas|
|00003590| 73 4c 69 73 74 29 20 69 | 6e 74 6f 20 4e 65 77 54 |sList) i|nto NewT|
|000035a0| 79 70 65 0d 65 6e 64 20 | 69 66 0d 41 44 44 5f 43 |ype.end |if.ADD_C|
|000035b0| 4c 41 53 53 20 47 48 4f | 53 54 43 4c 41 53 53 2c |LASS GHO|STCLASS,|
|000035c0| 4e 65 77 54 79 70 65 0d | 65 6c 73 65 0d 2d 2d 20 |NewType.|else.-- |
|000035d0| 74 68 65 20 63 68 6f 69 | 63 65 20 69 73 20 72 65 |the choi|ce is re|
|000035e0| 70 6c 61 63 65 3b 20 72 | 65 70 6c 61 63 65 20 66 |place; r|eplace f|
|000035f0| 6f 72 65 69 67 6e 20 63 | 6c 61 73 73 20 77 69 74 |oreign c|lass wit|
|00003600| 68 20 64 6f 6d 65 73 74 | 69 63 20 6f 6e 65 0d 70 |h domest|ic one.p|
|00003610| 75 74 20 54 68 65 52 65 | 70 6c 61 63 65 20 69 6e |ut TheRe|place in|
|00003620| 74 6f 20 69 74 65 6d 20 | 54 48 45 52 45 43 4c 41 |to item |THERECLA|
|00003630| 53 53 20 6f 66 20 62 67 | 20 66 6c 64 20 22 43 6c |SS of bg| fld "Cl|
|00003640| 61 73 73 22 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |ass".end| if.end |
|00003650| 69 66 0d 69 66 20 41 44 | 44 4f 4e 45 20 74 68 65 |if.if AD|DONE the|
|00003660| 6e 0d 61 64 64 20 31 20 | 74 6f 20 54 48 45 52 45 |n.add 1 |to THERE|
|00003670| 43 4c 41 53 53 0d 65 6e | 64 20 69 66 0d 65 6e 64 |CLASS.en|d if.end|
|00003680| 20 72 65 70 65 61 74 0d | 65 6e 64 20 43 48 45 43 | repeat.|end CHEC|
|00003690| 4b 5f 54 48 49 53 5f 43 | 41 52 44 0d 0d 6f 6e 20 |K_THIS_C|ARD..on |
|000036a0| 43 4c 45 41 52 5f 54 48 | 49 53 5f 43 41 52 44 0d |CLEAR_TH|IS_CARD.|
|000036b0| 67 6c 6f 62 61 6c 20 43 | 55 52 52 45 4e 54 5f 43 |global C|URRENT_C|
|000036c0| 41 52 44 2c 4d 41 49 4e | 53 43 52 45 45 4e 0d 70 |ARD,MAIN|SCREEN.p|
|000036d0| 75 74 20 74 68 65 20 73 | 68 6f 72 74 20 69 64 20 |ut the s|hort id |
|000036e0| 6f 66 20 74 68 69 73 20 | 63 61 72 64 20 69 6e 74 |of this |card int|
|000036f0| 6f 20 53 50 45 4c 4c 5f | 49 44 0d 70 75 74 20 62 |o SPELL_|ID.put b|
|00003700| 67 20 66 6c 64 20 22 4e | 61 6d 65 22 20 69 6e 74 |g fld "N|ame" int|
|00003710| 6f 20 53 50 45 4c 4c 5f | 4e 41 4d 45 0d 70 75 74 |o SPELL_|NAME.put|
|00003720| 20 62 67 20 66 6c 64 20 | 22 4c 65 76 65 6c 22 20 | bg fld |"Level" |
|00003730| 69 6e 74 6f 20 53 50 45 | 4c 4c 5f 4c 45 56 45 4c |into SPE|LL_LEVEL|
|00003740| 0d 70 75 74 20 62 67 20 | 66 6c 64 20 22 43 6c 61 |.put bg |fld "Cla|
|00003750| 73 73 22 20 69 6e 74 6f | 20 43 4c 41 53 53 45 53 |ss" into| CLASSES|
|00003760| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 43 4f 55 |.repeat |with COU|
|00003770| 4e 54 3d 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 |NT=1 to |the numb|
|00003780| 65 72 20 6f 66 20 69 74 | 65 6d 73 20 6f 66 20 43 |er of it|ems of C|
|00003790| 4c 41 53 53 45 53 0d 70 | 75 74 20 69 74 65 6d 20 |LASSES.p|ut item |
|000037a0| 43 4f 55 4e 54 20 6f 66 | 20 43 4c 41 53 53 45 53 |COUNT of| CLASSES|
|000037b0| 20 69 6e 74 6f 20 54 68 | 65 43 4c 41 53 53 0d 70 | into Th|eCLASS.p|
|000037c0| 75 74 20 54 68 65 43 4c | 41 53 53 26 22 41 6c 70 |ut TheCL|ASS&"Alp|
|000037d0| 68 61 62 65 74 69 63 61 | 6c 22 20 69 6e 74 6f 20 |habetica|l" into |
|000037e0| 4e 41 4d 45 5f 46 49 45 | 4c 44 0d 70 75 74 20 54 |NAME_FIE|LD.put T|
|000037f0| 68 65 43 4c 41 53 53 26 | 22 41 6c 70 68 61 4c 69 |heCLASS&|"AlphaLi|
|00003800| 6e 6b 49 44 73 22 20 69 | 6e 74 6f 20 49 44 5f 46 |nkIDs" i|nto ID_F|
|00003810| 49 45 4c 44 0d 70 75 74 | 20 54 68 65 43 4c 41 53 |IELD.put| TheCLAS|
|00003820| 53 26 26 22 4c 65 76 65 | 6c 22 26 26 53 50 45 4c |S&&"Leve|l"&&SPEL|
|00003830| 4c 5f 4c 45 56 45 4c 20 | 69 6e 74 6f 20 4c 45 56 |L_LEVEL |into LEV|
|00003840| 45 4c 5f 46 49 45 4c 44 | 0d 70 75 74 20 4c 45 56 |EL_FIELD|.put LEV|
|00003850| 45 4c 5f 46 49 45 4c 44 | 26 26 22 49 44 73 22 20 |EL_FIELD|&&"IDs" |
|00003860| 69 6e 74 6f 20 4c 45 56 | 45 4c 5f 49 44 5f 46 49 |into LEV|EL_ID_FI|
|00003870| 45 4c 44 0d 67 65 74 20 | 44 65 6c 65 74 65 5f 4c |ELD.get |Delete_L|
|00003880| 69 73 74 28 53 50 45 4c | 4c 5f 4e 41 4d 45 2c 53 |ist(SPEL|L_NAME,S|
|00003890| 50 45 4c 4c 5f 49 44 2c | 4e 41 4d 45 5f 46 49 45 |PELL_ID,|NAME_FIE|
|000038a0| 4c 44 2c 49 44 5f 46 49 | 45 4c 44 29 0d 67 65 74 |LD,ID_FI|ELD).get|
|000038b0| 20 44 65 6c 65 74 65 5f | 4c 69 73 74 28 53 50 45 | Delete_|List(SPE|
|000038c0| 4c 4c 5f 4e 41 4d 45 2c | 53 50 45 4c 4c 5f 49 44 |LL_NAME,|SPELL_ID|
|000038d0| 2c 4c 45 56 45 4c 5f 46 | 49 45 4c 44 2c 4c 45 56 |,LEVEL_F|IELD,LEV|
|000038e0| 45 4c 5f 49 44 5f 46 49 | 45 4c 44 29 0d 65 6e 64 |EL_ID_FI|ELD).end|
|000038f0| 20 72 65 70 65 61 74 0d | 70 75 74 20 22 4c 65 76 | repeat.|put "Lev|
|00003900| 65 6c 22 26 26 53 50 45 | 4c 4c 5f 4c 45 56 45 4c |el"&&SPE|LL_LEVEL|
|00003910| 20 69 6e 74 6f 20 4c 45 | 56 45 4c 5f 46 49 45 4c | into LE|VEL_FIEL|
|00003920| 44 0d 70 75 74 20 4c 45 | 56 45 4c 5f 46 49 45 4c |D.put LE|VEL_FIEL|
|00003930| 44 26 26 22 49 44 73 22 | 20 69 6e 74 6f 20 4c 45 |D&&"IDs"| into LE|
|00003940| 56 45 4c 5f 49 44 5f 46 | 49 45 4c 44 0d 64 65 6c |VEL_ID_F|IELD.del|
|00003950| 65 74 65 20 6c 69 6e 65 | 20 43 55 52 52 45 4e 54 |ete line| CURRENT|
|00003960| 5f 43 41 52 44 20 6f 66 | 20 62 67 20 66 6c 64 20 |_CARD of| bg fld |
|00003970| 22 73 70 65 6c 6c 20 63 | 68 6f 6f 73 65 72 22 20 |"spell c|hooser" |
|00003980| 6f 66 20 63 64 20 69 64 | 20 4d 41 49 4e 53 43 52 |of cd id| MAINSCR|
|00003990| 45 45 4e 0d 64 65 6c 65 | 74 65 20 6c 69 6e 65 20 |EEN.dele|te line |
|000039a0| 43 55 52 52 45 4e 54 5f | 43 41 52 44 20 6f 66 20 |CURRENT_|CARD of |
|000039b0| 63 64 20 66 6c 64 20 22 | 73 70 65 6c 6c 69 64 22 |cd fld "|spellid"|
|000039c0| 20 6f 66 20 63 64 20 69 | 64 20 4d 41 49 4e 53 43 | of cd i|d MAINSC|
|000039d0| 52 45 45 4e 0d 67 65 74 | 20 44 65 6c 65 74 65 5f |REEN.get| Delete_|
|000039e0| 4c 69 73 74 28 53 50 45 | 4c 4c 5f 4e 41 4d 45 2c |List(SPE|LL_NAME,|
|000039f0| 53 50 45 4c 4c 5f 49 44 | 2c 22 41 6c 70 68 61 62 |SPELL_ID|,"Alphab|
|00003a00| 65 74 69 63 61 6c 22 2c | 22 41 6c 70 68 61 4c 69 |etical",|"AlphaLi|
|00003a10| 6e 6b 49 44 73 22 29 0d | 67 65 74 20 44 65 6c 65 |nkIDs").|get Dele|
|00003a20| 74 65 5f 4c 69 73 74 28 | 53 50 45 4c 4c 5f 4e 41 |te_List(|SPELL_NA|
|00003a30| 4d 45 2c 53 50 45 4c 4c | 5f 49 44 2c 4c 45 56 45 |ME,SPELL|_ID,LEVE|
|00003a40| 4c 5f 46 49 45 4c 44 2c | 4c 45 56 45 4c 5f 49 44 |L_FIELD,|LEVEL_ID|
|00003a50| 5f 46 49 45 4c 44 29 0d | 65 6e 64 20 43 4c 45 41 |_FIELD).|end CLEA|
|00003a60| 52 5f 54 48 49 53 5f 43 | 41 52 44 0d 0d 6f 6e 20 |R_THIS_C|ARD..on |
|00003a70| 43 4c 45 41 52 5f 41 4c | 4c 5f 4c 49 53 54 53 0d |CLEAR_AL|L_LISTS.|
|00003a80| 67 6c 6f 62 61 6c 20 4d | 41 58 5f 4c 45 56 45 4c |global M|AX_LEVEL|
|00003a90| 0d 70 75 73 68 20 63 61 | 72 64 0d 67 6f 20 74 6f |.push ca|rd.go to|
|00003aa0| 20 63 64 20 22 4c 69 73 | 74 73 22 0d 2d 2d 20 70 | cd "Lis|ts".-- p|
|00003ab0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 61 6c |ut empty| into al|
|00003ac0| 6c 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |l.put em|pty into|
|00003ad0| 20 63 64 20 66 6c 64 20 | 22 61 6c 70 68 61 62 65 | cd fld |"alphabe|
|00003ae0| 74 69 63 61 6c 22 0d 70 | 75 74 20 65 6d 70 74 79 |tical".p|ut empty|
|00003af0| 20 69 6e 74 6f 20 63 64 | 20 66 6c 64 20 22 61 6c | into cd| fld "al|
|00003b00| 70 68 61 6c 69 6e 6b 69 | 64 73 22 0d 70 75 74 20 |phalinki|ds".put |
|00003b10| 63 64 20 66 6c 64 20 22 | 43 6c 61 73 73 65 73 22 |cd fld "|Classes"|
|00003b20| 20 69 6e 74 6f 20 43 4c | 41 53 53 45 53 0d 72 65 | into CL|ASSES.re|
|00003b30| 70 65 61 74 20 77 69 74 | 68 20 43 6f 75 6e 74 3d |peat wit|h Count=|
|00003b40| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number |
|00003b50| 6f 66 20 6c 69 6e 65 73 | 20 6f 66 20 43 4c 41 53 |of lines| of CLAS|
|00003b60| 53 45 53 20 2d 31 0d 70 | 75 74 20 69 74 65 6d 20 |SES -1.p|ut item |
|00003b70| 31 20 6f 66 20 6c 69 6e | 65 20 43 6f 75 6e 74 20 |1 of lin|e Count |
|00003b80| 6f 66 20 43 4c 41 53 53 | 45 53 20 69 6e 74 6f 20 |of CLASS|ES into |
|00003b90| 54 68 65 43 6c 61 73 73 | 0d 70 75 74 20 54 68 65 |TheClass|.put The|
|00003ba0| 43 6c 61 73 73 26 22 41 | 6c 70 68 61 62 65 74 69 |Class&"A|lphabeti|
|00003bb0| 63 61 6c 22 20 69 6e 74 | 6f 20 54 68 65 46 69 65 |cal" int|o TheFie|
|00003bc0| 6c 64 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |ld.put e|mpty int|
|00003bd0| 6f 20 63 64 20 66 6c 64 | 20 54 68 65 46 69 65 6c |o cd fld| TheFiel|
|00003be0| 64 0d 70 75 74 20 54 68 | 65 43 6c 61 73 73 26 22 |d.put Th|eClass&"|
|00003bf0| 41 6c 70 68 61 4c 69 6e | 6b 49 44 73 22 20 69 6e |AlphaLin|kIDs" in|
|00003c00| 74 6f 20 54 68 65 46 69 | 65 6c 64 0d 70 75 74 20 |to TheFi|eld.put |
|00003c10| 65 6d 70 74 79 20 69 6e | 74 6f 20 63 64 20 66 6c |empty in|to cd fl|
|00003c20| 64 20 54 68 65 46 69 65 | 6c 64 0d 65 6e 64 20 72 |d TheFie|ld.end r|
|00003c30| 65 70 65 61 74 0d 72 65 | 70 65 61 74 20 77 69 74 |epeat.re|peat wit|
|00003c40| 68 20 43 6f 75 6e 74 3d | 31 20 74 6f 20 4d 41 58 |h Count=|1 to MAX|
|00003c50| 5f 4c 45 56 45 4c 0d 70 | 75 74 20 22 4c 65 76 65 |_LEVEL.p|ut "Leve|
|00003c60| 6c 22 26 26 43 6f 75 6e | 74 20 69 6e 74 6f 20 54 |l"&&Coun|t into T|
|00003c70| 68 65 46 69 65 6c 64 0d | 70 75 74 20 65 6d 70 74 |heField.|put empt|
|00003c80| 79 20 69 6e 74 6f 20 63 | 64 20 66 6c 64 20 54 68 |y into c|d fld Th|
|00003c90| 65 46 69 65 6c 64 0d 70 | 75 74 20 54 68 65 46 69 |eField.p|ut TheFi|
|00003ca0| 65 6c 64 26 26 22 49 44 | 73 22 20 69 6e 74 6f 20 |eld&&"ID|s" into |
|00003cb0| 54 68 65 46 69 65 6c 64 | 0d 70 75 74 20 65 6d 70 |TheField|.put emp|
|00003cc0| 74 79 20 69 6e 74 6f 20 | 63 64 20 66 6c 64 20 54 |ty into |cd fld T|
|00003cd0| 68 65 46 69 65 6c 64 0d | 72 65 70 65 61 74 20 77 |heField.|repeat w|
|00003ce0| 69 74 68 20 43 6c 61 73 | 73 4e 75 6d 3d 31 20 74 |ith Clas|sNum=1 t|
|00003cf0| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00003d00| 6c 69 6e 65 73 20 6f 66 | 20 43 4c 41 53 53 45 53 |lines of| CLASSES|
|00003d10| 20 2d 31 0d 70 75 74 20 | 69 74 65 6d 20 31 20 6f | -1.put |item 1 o|
|00003d20| 66 20 6c 69 6e 65 20 43 | 6c 61 73 73 4e 75 6d 20 |f line C|lassNum |
|00003d30| 6f 66 20 43 4c 41 53 53 | 45 53 20 69 6e 74 6f 20 |of CLASS|ES into |
|00003d40| 54 68 65 43 6c 61 73 73 | 0d 70 75 74 20 54 68 65 |TheClass|.put The|
|00003d50| 43 6c 61 73 73 26 26 22 | 4c 65 76 65 6c 22 26 26 |Class&&"|Level"&&|
|00003d60| 43 6f 75 6e 74 20 69 6e | 74 6f 20 54 68 65 46 69 |Count in|to TheFi|
|00003d70| 65 6c 64 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |eld.put |empty in|
|00003d80| 74 6f 20 63 64 20 66 6c | 64 20 54 68 65 46 69 65 |to cd fl|d TheFie|
|00003d90| 6c 64 0d 70 75 74 20 54 | 68 65 46 69 65 6c 64 26 |ld.put T|heField&|
|00003da0| 26 22 49 44 73 22 20 69 | 6e 74 6f 20 54 68 65 46 |&"IDs" i|nto TheF|
|00003db0| 69 65 6c 64 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |ield.put| empty i|
|00003dc0| 6e 74 6f 20 63 64 20 66 | 6c 64 20 54 68 65 46 69 |nto cd f|ld TheFi|
|00003dd0| 65 6c 64 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 |eld.end |repeat.e|
|00003de0| 6e 64 20 72 65 70 65 61 | 74 0d 70 6f 70 20 63 61 |nd repea|t.pop ca|
|00003df0| 72 64 0d 65 6e 64 20 43 | 4c 45 41 52 5f 41 4c 4c |rd.end C|LEAR_ALL|
|00003e00| 5f 4c 49 53 54 53 0d 0d | 6f 6e 20 41 44 44 5f 43 |_LISTS..|on ADD_C|
|00003e10| 4c 41 53 53 20 4e 45 57 | 5f 43 4c 41 53 53 2c 4e |LASS NEW|_CLASS,N|
|00003e20| 45 57 5f 54 59 50 45 0d | 67 6c 6f 62 61 6c 20 43 |EW_TYPE.|global C|
|00003e30| 55 52 52 45 4e 54 5f 43 | 4c 41 53 53 2c 4d 41 58 |URRENT_C|LASS,MAX|
|00003e40| 5f 4c 45 56 45 4c 0d 70 | 75 74 20 63 64 20 66 6c |_LEVEL.p|ut cd fl|
|00003e50| 64 20 22 43 6c 61 73 73 | 65 73 22 20 6f 66 20 63 |d "Class|es" of c|
|00003e60| 64 20 22 4c 69 73 74 73 | 22 20 69 6e 74 6f 20 43 |d "Lists|" into C|
|00003e70| 4c 41 53 53 45 53 0d 69 | 66 20 43 55 52 52 45 4e |LASSES.i|f CURREN|
|00003e80| 54 5f 43 4c 41 53 53 20 | 69 73 20 74 68 65 20 6e |T_CLASS |is the n|
|00003e90| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 6f |umber of| lines o|
|00003ea0| 66 20 43 4c 41 53 53 45 | 53 20 74 68 65 6e 20 61 |f CLASSE|S then a|
|00003eb0| 64 64 20 31 20 74 6f 20 | 43 55 52 52 45 4e 54 5f |dd 1 to |CURRENT_|
|00003ec0| 43 4c 41 53 53 0d 70 75 | 74 20 6c 61 73 74 20 6c |CLASS.pu|t last l|
|00003ed0| 69 6e 65 20 6f 66 20 43 | 4c 41 53 53 45 53 20 69 |ine of C|LASSES i|
|00003ee0| 6e 74 6f 20 41 4c 4c 5f | 43 4c 41 53 53 0d 70 75 |nto ALL_|CLASS.pu|
|00003ef0| 74 20 4e 45 57 5f 43 4c | 41 53 53 26 22 2c 22 26 |t NEW_CL|ASS&","&|
|00003f00| 4e 45 57 5f 54 59 50 45 | 20 69 6e 74 6f 20 6c 61 |NEW_TYPE| into la|
|00003f10| 73 74 20 6c 69 6e 65 20 | 6f 66 20 43 4c 41 53 53 |st line |of CLASS|
|00003f20| 45 53 0d 70 75 74 20 6c | 69 6e 65 73 6f 72 74 28 |ES.put l|inesort(|
|00003f30| 20 43 4c 41 53 53 45 53 | 29 20 69 6e 74 6f 20 43 | CLASSES|) into C|
|00003f40| 4c 41 53 53 45 53 0d 69 | 66 20 6c 61 73 74 20 63 |LASSES.i|f last c|
|00003f50| 68 61 72 20 6f 66 20 43 | 4c 41 53 53 45 53 20 69 |har of C|LASSES i|
|00003f60| 73 20 6e 6f 74 20 72 65 | 74 75 72 6e 20 74 68 65 |s not re|turn the|
|00003f70| 6e 20 70 75 74 20 72 65 | 74 75 72 6e 20 61 66 74 |n put re|turn aft|
|00003f80| 65 72 20 43 4c 41 53 53 | 45 53 0d 70 75 74 20 41 |er CLASS|ES.put A|
|00003f90| 4c 4c 5f 43 4c 41 53 53 | 20 61 66 74 65 72 20 43 |LL_CLASS| after C|
|00003fa0| 4c 41 53 53 45 53 0d 0d | 70 75 74 20 43 4c 41 53 |LASSES..|put CLAS|
|00003fb0| 53 45 53 20 69 6e 74 6f | 20 63 64 20 66 6c 64 20 |SES into| cd fld |
|00003fc0| 22 43 6c 61 73 73 65 73 | 22 20 6f 66 20 63 64 20 |"Classes|" of cd |
|00003fd0| 22 4c 69 73 74 73 22 0d | 0d 2d 2d 20 63 72 65 61 |"Lists".|.-- crea|
|00003fe0| 74 65 20 73 6f 72 74 20 | 66 69 65 6c 64 73 20 66 |te sort |fields f|
|00003ff0| 6f 72 20 74 68 69 73 20 | 63 6c 61 73 73 0d 73 65 |or this |class.se|
|00004000| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |t cursor| to watc|
|00004010| 68 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 70 75 |h.lock s|creen.pu|
|00004020| 73 68 20 63 61 72 64 0d | 67 6f 20 74 6f 20 63 64 |sh card.|go to cd|
|00004030| 20 22 4c 69 73 74 73 22 | 0d 70 75 74 20 74 68 65 | "Lists"|.put the|
|00004040| 20 75 73 65 72 6c 65 76 | 65 6c 20 69 6e 74 6f 20 | userlev|el into |
|00004050| 55 53 45 52 5f 4c 45 56 | 45 4c 5f 53 41 56 45 0d |USER_LEV|EL_SAVE.|
|00004060| 73 65 74 20 74 68 65 20 | 75 73 65 72 6c 65 76 65 |set the |userleve|
|00004070| 6c 20 74 6f 20 34 0d 70 | 75 74 20 74 68 65 20 6e |l to 4.p|ut the n|
|00004080| 75 6d 62 65 72 20 6f 66 | 20 63 64 20 66 6c 64 73 |umber of| cd flds|
|00004090| 20 69 6e 74 6f 20 46 49 | 45 4c 44 5f 4e 55 4d 42 | into FI|ELD_NUMB|
|000040a0| 45 52 0d 61 64 64 20 31 | 20 74 6f 20 46 49 45 4c |ER.add 1| to FIEL|
|000040b0| 44 5f 4e 55 4d 42 45 52 | 0d 73 65 6c 65 63 74 20 |D_NUMBER|.select |
|000040c0| 63 64 20 66 6c 64 20 22 | 61 6c 70 68 61 62 65 74 |cd fld "|alphabet|
|000040d0| 69 63 61 6c 22 0d 64 6f | 6d 65 6e 75 20 22 63 6f |ical".do|menu "co|
|000040e0| 70 79 20 66 69 65 6c 64 | 22 0d 64 6f 6d 65 6e 75 |py field|".domenu|
|000040f0| 20 22 70 61 73 74 65 20 | 66 69 65 6c 64 22 0d 73 | "paste |field".s|
|00004100| 65 74 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 63 |et the n|ame of c|
|00004110| 64 20 66 6c 64 20 46 49 | 45 4c 44 5f 4e 55 4d 42 |d fld FI|ELD_NUMB|
|00004120| 45 52 20 74 6f 20 4e 45 | 57 5f 43 4c 41 53 53 26 |ER to NE|W_CLASS&|
|00004130| 22 61 6c 70 68 61 62 65 | 74 69 63 61 6c 22 0d 61 |"alphabe|tical".a|
|00004140| 64 64 20 31 20 74 6f 20 | 46 49 45 4c 44 5f 4e 55 |dd 1 to |FIELD_NU|
|00004150| 4d 42 45 52 0d 73 65 6c | 65 63 74 20 63 64 20 66 |MBER.sel|ect cd f|
|00004160| 6c 64 20 22 61 6c 70 68 | 61 6c 69 6e 6b 69 64 73 |ld "alph|alinkids|
|00004170| 22 0d 64 6f 6d 65 6e 75 | 20 22 63 6f 70 79 20 66 |".domenu| "copy f|
|00004180| 69 65 6c 64 22 0d 64 6f | 6d 65 6e 75 20 22 70 61 |ield".do|menu "pa|
|00004190| 73 74 65 20 66 69 65 6c | 64 22 0d 73 65 74 20 74 |ste fiel|d".set t|
|000041a0| 68 65 20 6e 61 6d 65 20 | 6f 66 20 63 64 20 66 6c |he name |of cd fl|
|000041b0| 64 20 46 49 45 4c 44 5f | 4e 55 4d 42 45 52 20 74 |d FIELD_|NUMBER t|
|000041c0| 6f 20 4e 45 57 5f 43 4c | 41 53 53 26 22 61 6c 70 |o NEW_CL|ASS&"alp|
|000041d0| 68 61 6c 69 6e 6b 69 64 | 73 22 0d 61 64 64 20 31 |halinkid|s".add 1|
|000041e0| 20 74 6f 20 46 49 45 4c | 44 5f 4e 55 4d 42 45 52 | to FIEL|D_NUMBER|
|000041f0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 43 4f 55 |.repeat |with COU|
|00004200| 4e 54 3d 31 20 74 6f 20 | 4d 41 58 5f 4c 45 56 45 |NT=1 to |MAX_LEVE|
|00004210| 4c 0d 70 75 74 20 22 4c | 65 76 65 6c 22 26 26 43 |L.put "L|evel"&&C|
|00004220| 4f 55 4e 54 20 69 6e 74 | 6f 20 46 49 45 4c 44 5f |OUNT int|o FIELD_|
|00004230| 4e 41 4d 45 0d 73 65 6c | 65 63 74 20 63 64 20 66 |NAME.sel|ect cd f|
|00004240| 6c 64 20 46 49 45 4c 44 | 5f 4e 41 4d 45 0d 64 6f |ld FIELD|_NAME.do|
|00004250| 6d 65 6e 75 20 22 63 6f | 70 79 20 66 69 65 6c 64 |menu "co|py field|
|00004260| 22 0d 64 6f 6d 65 6e 75 | 20 22 70 61 73 74 65 20 |".domenu| "paste |
|00004270| 66 69 65 6c 64 22 0d 73 | 65 74 20 74 68 65 20 6e |field".s|et the n|
|00004280| 61 6d 65 20 6f 66 20 63 | 64 20 66 6c 64 20 46 49 |ame of c|d fld FI|
|00004290| 45 4c 44 5f 4e 55 4d 42 | 45 52 20 74 6f 20 4e 45 |ELD_NUMB|ER to NE|
|000042a0| 57 5f 43 4c 41 53 53 26 | 26 46 49 45 4c 44 5f 4e |W_CLASS&|&FIELD_N|
|000042b0| 41 4d 45 0d 61 64 64 20 | 31 20 74 6f 20 46 49 45 |AME.add |1 to FIE|
|000042c0| 4c 44 5f 4e 55 4d 42 45 | 52 0d 70 75 74 20 22 20 |LD_NUMBE|R.put " |
|000042d0| 49 44 73 22 20 61 66 74 | 65 72 20 46 49 45 4c 44 |IDs" aft|er FIELD|
|000042e0| 5f 4e 41 4d 45 0d 73 65 | 6c 65 63 74 20 63 64 20 |_NAME.se|lect cd |
|000042f0| 66 6c 64 20 46 49 45 4c | 44 5f 4e 41 4d 45 0d 64 |fld FIEL|D_NAME.d|
|00004300| 6f 6d 65 6e 75 20 22 63 | 6f 70 79 20 66 69 65 6c |omenu "c|opy fiel|
|00004310| 64 22 0d 64 6f 6d 65 6e | 75 20 22 70 61 73 74 65 |d".domen|u "paste|
|00004320| 20 66 69 65 6c 64 22 0d | 73 65 74 20 74 68 65 20 | field".|set the |
|00004330| 6e 61 6d 65 20 6f 66 20 | 63 64 20 66 6c 64 20 46 |name of |cd fld F|
|00004340| 49 45 4c 44 5f 4e 55 4d | 42 45 52 20 74 6f 20 4e |IELD_NUM|BER to N|
|00004350| 45 57 5f 43 4c 41 53 53 | 26 26 46 49 45 4c 44 5f |EW_CLASS|&&FIELD_|
|00004360| 4e 41 4d 45 0d 61 64 64 | 20 31 20 74 6f 20 46 49 |NAME.add| 1 to FI|
|00004370| 45 4c 44 5f 4e 55 4d 42 | 45 52 0d 65 6e 64 20 72 |ELD_NUMB|ER.end r|
|00004380| 65 70 65 61 74 0d 70 6f | 70 20 63 61 72 64 0d 63 |epeat.po|p card.c|
|00004390| 68 6f 6f 73 65 20 62 72 | 6f 77 73 65 20 74 6f 6f |hoose br|owse too|
|000043a0| 6c 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |l.unlock| screen.|
|000043b0| 65 6e 64 20 41 44 44 5f | 43 4c 41 53 53 0d 0d 6f |end ADD_|CLASS..o|
|000043c0| 6e 20 52 65 6e 65 77 53 | 63 72 65 65 6e 20 43 55 |n RenewS|creen CU|
|000043d0| 52 54 41 49 4e 0d 70 75 | 73 68 20 63 61 72 64 0d |RTAIN.pu|sh card.|
|000043e0| 67 6f 20 74 6f 20 63 64 | 20 69 64 20 43 55 52 54 |go to cd| id CURT|
|000043f0| 41 49 4e 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 |AIN.unlo|ck scree|
|00004400| 6e 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 70 6f |n.lock s|creen.po|
|00004410| 70 20 63 61 72 64 0d 65 | 6e 64 20 52 65 6e 65 77 |p card.e|nd Renew|
|00004420| 53 63 72 65 65 6e 0d 0d | 6f 6e 20 44 6f 5f 54 68 |Screen..|on Do_Th|
|00004430| 65 5f 43 6f 70 79 0d 64 | 6f 6d 65 6e 75 20 22 43 |e_Copy.d|omenu "C|
|00004440| 6f 70 79 20 43 61 72 64 | 22 0d 70 6f 70 20 63 61 |opy Card|".pop ca|
|00004450| 72 64 0d 67 6f 20 6c 61 | 73 74 0d 74 79 70 65 20 |rd.go la|st.type |
|00004460| 22 76 22 20 77 69 74 68 | 20 63 6f 6d 6d 61 6e 64 |"v" with| command|
|00004470| 4b 65 79 0d 65 6e 64 20 | 44 6f 5f 54 68 65 5f 43 |Key.end |Do_The_C|
|00004480| 6f 70 79 0d 0d 66 75 6e | 63 74 69 6f 6e 20 52 65 |opy..fun|ction Re|
|00004490| 70 6c 61 63 65 6d 65 6e | 74 73 20 49 6e 64 65 78 |placemen|ts Index|
|000044a0| 43 6c 61 73 73 0d 67 6c | 6f 62 61 6c 20 52 45 50 |Class.gl|obal REP|
|000044b0| 4c 41 43 45 5f 4c 49 53 | 54 0d 70 75 74 20 31 20 |LACE_LIS|T.put 1 |
|000044c0| 69 6e 74 6f 20 43 6f 75 | 6e 74 0d 72 65 70 65 61 |into Cou|nt.repea|
|000044d0| 74 20 77 68 69 6c 65 20 | 43 6f 75 6e 74 3c 3d 20 |t while |Count<= |
|000044e0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|000044f0| 6e 65 73 20 6f 66 20 52 | 45 50 4c 41 43 45 5f 4c |nes of R|EPLACE_L|
|00004500| 49 53 54 20 61 6e 64 c2 | 0d 69 74 65 6d 20 32 20 |IST and.|.item 2 |
|00004510| 6f 66 20 6c 69 6e 65 20 | 43 6f 75 6e 74 20 6f 66 |of line |Count of|
|00004520| 20 52 45 50 4c 41 43 45 | 5f 4c 49 53 54 20 69 73 | REPLACE|_LIST is|
|00004530| 20 6e 6f 74 20 49 6e 64 | 65 78 43 6c 61 73 73 0d | not Ind|exClass.|
|00004540| 61 64 64 20 31 20 74 6f | 20 43 6f 75 6e 74 0d 65 |add 1 to| Count.e|
|00004550| 6e 64 20 72 65 70 65 61 | 74 0d 69 66 20 43 6f 75 |nd repea|t.if Cou|
|00004560| 6e 74 3e 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |nt> the |number o|
|00004570| 66 20 6c 69 6e 65 73 20 | 6f 66 20 52 45 50 4c 41 |f lines |of REPLA|
|00004580| 43 45 5f 4c 49 53 54 20 | 74 68 65 6e 0d 70 75 74 |CE_LIST |then.put|
|00004590| 20 22 4e 6f 74 20 48 65 | 72 65 22 20 69 6e 74 6f | "Not He|re" into|
|000045a0| 20 54 68 65 52 65 73 75 | 6c 74 0d 65 6c 73 65 0d | TheResu|lt.else.|
|000045b0| 70 75 74 20 6c 69 6e 65 | 20 43 6f 75 6e 74 20 6f |put line| Count o|
|000045c0| 66 20 52 45 50 4c 41 43 | 45 5f 4c 49 53 54 20 69 |f REPLAC|E_LIST i|
|000045d0| 6e 74 6f 20 54 68 65 52 | 65 73 75 6c 74 0d 64 65 |nto TheR|esult.de|
|000045e0| 6c 65 74 65 20 69 74 65 | 6d 20 32 20 6f 66 20 54 |lete ite|m 2 of T|
|000045f0| 68 65 52 65 73 75 6c 74 | 0d 65 6e 64 20 69 66 0d |heResult|.end if.|
|00004600| 72 65 74 75 72 6e 20 54 | 68 65 52 65 73 75 6c 74 |return T|heResult|
|00004610| 0d 65 6e 64 20 52 65 70 | 6c 61 63 65 6d 65 6e 74 |.end Rep|lacement|
|00004620| 73 0d 0d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |s.......|........|
|00004630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004680| 00 00 04 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00004690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046a0| 00 02 50 da 00 02 54 3b | 00 02 94 c8 00 0a a4 1f |..P...T;|........|
|000046b0| 00 09 1a a7 00 05 66 89 | 00 00 00 00 00 07 1a bc |......f.|........|
|000046c0| 00 00 00 00 00 00 00 00 | 00 0d 21 d7 00 0c 4c 08 |........|..!...L.|
|000046d0| 00 0d 3e bf 00 00 00 00 | 00 00 00 00 00 00 00 00 |..>.....|........|
|000046e0| 00 00 00 00 00 0d 40 e8 | 00 00 00 00 00 0d 6e 32 |......@.|......n2|
|000046f0| 00 0d 70 5c 00 0d 8a 42 | 00 0d 8c bf 00 0d b3 4f |..p\...B|.......O|
|00004700| 00 0d b5 46 00 0d d1 81 | 00 00 00 00 00 00 00 00 |...F....|........|
|00004710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a80| 00 00 00 80 4c 49 53 54 | 00 00 08 da 00 00 00 01 |....LIST|........|
|00004a90| 00 00 08 00 00 00 00 07 | 00 44 00 02 00 10 00 03 |........|.D......|
|00004aa0| 60 00 01 2e 00 00 00 07 | 00 00 00 00 00 00 00 00 |`.......|........|
|00004ab0| 00 00 09 3b 00 07 00 00 | 00 00 00 00 00 00 00 00 |...;....|........|
|00004ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b00| 00 00 08 00 50 41 47 45 | 00 00 09 3b 00 00 08 da |....PAGE|...;....|
|00004b10| b3 48 fc 93 00 00 00 00 | 00 00 0b 1f e0 3e b7 ef |.H......|.....>..|
|00004b20| fe ff 7b df d1 37 77 ff | 9f e7 ff af fa 7d fd fe |..{..7w.|.....}..|
|00004b30| bf 5f ff b5 f7 bf bb ff | f6 ff ff f3 ef bf f7 bd |._......|........|
|00004b40| ff ff b7 b1 ff f7 ff fd | ff bb 7f fd 5f dc de f9 |........|...._...|
|00004b50| e7 cb 3b ff 17 bf fe 76 | ff bf f7 fe 00 00 13 08 |..;....v|........|
|00004b60| a0 04 37 2f b9 d6 39 ce | 91 ff cc df cd b7 56 2c |..7/..9.|......V,|
|00004b70| 88 7d 47 fe c2 b5 fa fd | f6 89 af 7b b5 ca 7d b2 |.}G.....|...{..}.|
|00004b80| ed 9c 2f 7d 93 13 14 01 | 45 b4 a7 14 4b ee d2 70 |../}....|E...K..p|
|00004b90| 0f d4 d0 4f e6 15 4b fe | 95 b3 f0 f6 df 0f 94 2f |...O..K.|......./|
|00004ba0| 00 00 12 d7 60 0e 2e 1c | 7f cf 81 d2 d8 2d a4 9d |....`...|.....-..|
|00004bb0| 0a a5 e6 22 58 4c 7f 3f | 93 a3 a9 dc 77 9e ef 36 |..."XL.?|....w..6|
|00004bc0| 7b 60 6f 28 e4 12 d1 2b | 75 8b 01 a2 d4 0b b1 79 |{`o(...+|u......y|
|00004bd0| 99 93 fa 3c 3b c0 7e 72 | f6 dd b5 78 85 11 bd 76 |...<;.~r|...x...v|
|00004be0| 2d 1e b6 a7 00 00 19 e8 | 20 6f dd 9e 7d 7b da cf |-.......| o..}{..|
|00004bf0| d0 df c6 bf 0f 6d fe fb | 1e 75 f6 fd b7 95 ba fe |.....m..|.u......|
|00004c00| d7 9f bf da 6b ee 2f b1 | bc 55 fd bd fe 6f 33 b2 |....k./.|.U...o3.|
|00004c10| e9 2f f9 f9 da da 5a 3f | ab f2 bb 5e e6 7e b5 fd |./....Z?|...^.~..|
|00004c20| f5 d7 a8 d6 7f af fe f7 | 00 00 1c 5c 20 22 2d 1c |........|...\ "-.|
|00004c30| 5f de 20 07 f0 7a 80 99 | 8a 02 68 2f 92 62 25 68 |_. ..z..|..h/.b%h|
|00004c40| 52 a5 ba c8 b7 8a e7 4b | 27 47 27 28 25 f5 d3 fa |R......K|'G'(%...|
|00004c50| 3d 13 bb 80 ea 61 f1 d8 | 88 52 58 6d 33 c0 20 50 |=....a..|.RXm3. P|
|00004c60| 76 57 31 de 0e 14 a2 da | 47 af 94 67 00 00 1e bf |vW1.....|G..g....|
|00004c70| 20 1e ef 07 ab fe 93 5b | ba f8 94 5b df 1e 62 69 | ......[|...[..bi|
|00004c80| cd 5c 5b 3e b6 85 f9 ec | e7 9c ff b7 27 4e 6f 30 |.\[>....|....'No0|
|00004c90| ad 5f 54 ba 3d 09 41 a2 | e4 21 bb f3 a9 5b ff fd |._T.=.A.|.!...[..|
|00004ca0| 71 f5 54 53 65 fc 79 fd | e5 75 77 fa 77 de b5 7b |q.TSe.y.|.uw.w..{|
|00004cb0| 00 00 20 46 20 24 a5 85 | 7b 66 fa df d0 9d cb 3d |.. F $..|{f.....=|
|00004cc0| 8a 45 5e 69 0c 48 76 f8 | 36 91 aa ec ee bf ff 5e |.E^i.Hv.|6......^|
|00004cd0| 2d ec ff a0 6d f4 4f a7 | 3d ea 37 b9 c0 01 99 79 |-...m.O.|=.7....y|
|00004ce0| 59 94 da 3d ad 6c b8 5a | ef 76 bd fb e5 73 28 d2 |Y..=.l.Z|.v...s(.|
|00004cf0| ff 8e f8 77 00 00 00 00 | 00 00 00 00 00 00 00 00 |...w....|........|
|00004d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005300| 00 00 5a 40 42 4b 47 44 | 00 00 0a c8 00 00 0d 89 |..Z@BKGD|........|
|00005310| 40 00 00 00 00 00 00 02 | 00 00 0f bc 00 00 0f bc |@.......|........|
|00005320| 00 22 00 59 00 00 5a 02 | 00 00 00 00 00 00 03 f2 |.".Y..Z.|........|
|00005330| 00 04 01 00 00 14 00 5d | 00 27 01 05 80 02 00 00 |.......]|.'......|
|00005340| 00 00 00 01 00 00 00 0c | 00 00 00 10 41 6c 6c 20 |........|....All |
|00005350| 53 70 65 6c 6c 73 00 00 | 6f 6e 20 6d 6f 75 73 65 |Spells..|on mouse|
|00005360| 44 6f 77 6e 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |Down.loc|k screen|
|00005370| 0d 70 75 74 20 69 74 65 | 6d 20 31 20 6f 66 20 74 |.put ite|m 1 of t|
|00005380| 68 65 20 6d 6f 75 73 65 | 4c 6f 63 20 2d 34 35 20 |he mouse|Loc -45 |
|00005390| 2b 20 6c 65 66 74 20 6f | 66 20 63 61 72 64 20 77 |+ left o|f card w|
|000053a0| 69 6e 64 6f 77 20 69 6e | 74 6f 20 68 6f 72 69 7a |indow in|to horiz|
|000053b0| 0d 70 75 74 20 74 68 65 | 20 74 6f 70 20 6f 66 20 |.put the| top of |
|000053c0| 6d 65 20 2b 20 74 6f 70 | 20 6f 66 20 63 61 72 64 |me + top| of card|
|000053d0| 20 77 69 6e 64 6f 77 20 | 69 6e 74 6f 20 76 65 72 | window |into ver|
|000053e0| 74 0d 70 75 74 20 63 64 | 20 66 6c 64 20 22 43 6c |t.put cd| fld "Cl|
|000053f0| 61 73 73 65 73 22 20 6f | 66 20 63 64 20 22 4c 69 |asses" o|f cd "Li|
|00005400| 73 74 73 22 20 69 6e 74 | 6f 20 43 4c 41 53 53 45 |sts" int|o CLASSE|
|00005410| 53 0d 70 75 74 20 30 20 | 69 6e 74 6f 20 43 55 52 |S.put 0 |into CUR|
|00005420| 52 45 4e 54 5f 43 4c 41 | 53 53 0d 70 75 74 20 77 |RENT_CLA|SS.put w|
|00005430| 6f 72 64 20 31 20 6f 66 | 20 74 68 65 20 73 68 6f |ord 1 of| the sho|
|00005440| 72 74 20 6e 61 6d 65 20 | 6f 66 20 6d 65 20 69 6e |rt name |of me in|
|00005450| 74 6f 20 4d 59 5f 4e 41 | 4d 45 0d 72 65 70 65 61 |to MY_NA|ME.repea|
|00005460| 74 20 77 69 74 68 20 43 | 4f 55 4e 54 3d 31 20 74 |t with C|OUNT=1 t|
|00005470| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00005480| 6c 69 6e 65 73 20 6f 66 | 20 43 4c 41 53 53 45 53 |lines of| CLASSES|
|00005490| 0d 70 75 74 20 69 74 65 | 6d 20 31 20 6f 66 20 6c |.put ite|m 1 of l|
|000054a0| 69 6e 65 20 43 4f 55 4e | 54 20 6f 66 20 43 4c 41 |ine COUN|T of CLA|
|000054b0| 53 53 45 53 20 69 6e 74 | 6f 20 69 74 65 6d 20 43 |SSES int|o item C|
|000054c0| 4f 55 4e 54 20 6f 66 20 | 43 4c 41 53 53 5f 4c 49 |OUNT of |CLASS_LI|
|000054d0| 53 54 0d 69 66 20 69 74 | 65 6d 20 43 4f 55 4e 54 |ST.if it|em COUNT|
|000054e0| 20 6f 66 20 43 4c 41 53 | 53 5f 4c 49 53 54 20 69 | of CLAS|S_LIST i|
|000054f0| 73 20 4d 59 5f 4e 41 4d | 45 20 74 68 65 6e 20 70 |s MY_NAM|E then p|
|00005500| 75 74 20 43 4f 55 4e 54 | 20 69 6e 74 6f 20 43 55 |ut COUNT| into CU|
|00005510| 52 52 45 4e 54 5f 43 4c | 41 53 53 0d 65 6e 64 20 |RRENT_CL|ASS.end |
|00005520| 72 65 70 65 61 74 0d 70 | 75 74 20 50 6f 70 55 70 |repeat.p|ut PopUp|
|00005530| 4d 65 6e 75 28 43 4c 41 | 53 53 5f 4c 49 53 54 2c |Menu(CLA|SS_LIST,|
|00005540| 20 43 55 52 52 45 4e 54 | 5f 43 4c 41 53 53 2c 20 | CURRENT|_CLASS, |
|00005550| 76 65 72 74 2c 20 68 6f | 72 69 7a 29 20 69 6e 74 |vert, ho|riz) int|
|00005560| 6f 20 54 68 65 43 4c 41 | 53 53 0d 69 66 20 54 68 |o TheCLA|SS.if Th|
|00005570| 65 43 4c 41 53 53 20 69 | 73 20 30 20 6f 72 20 54 |eCLASS i|s 0 or T|
|00005580| 68 65 43 4c 41 53 53 20 | 69 73 20 65 6d 70 74 79 |heCLASS |is empty|
|00005590| 20 74 68 65 6e 20 65 78 | 69 74 20 6d 6f 75 73 65 | then ex|it mouse|
|000055a0| 44 6f 77 6e 0d 0d 0d 0d | 0d 0d 73 65 74 20 74 68 |Down....|..set th|
|000055b0| 65 20 6e 61 6d 65 20 6f | 66 20 6d 65 20 74 6f 20 |e name o|f me to |
|000055c0| 28 69 74 65 6d 20 31 20 | 6f 66 20 6c 69 6e 65 20 |(item 1 |of line |
|000055d0| 54 68 65 43 4c 41 53 53 | 20 6f 66 20 43 4c 41 53 |TheCLASS| of CLAS|
|000055e0| 53 45 53 29 26 26 22 53 | 70 65 6c 6c 73 22 0d 69 |SES)&&"S|pells".i|
|000055f0| 66 20 69 74 65 6d 20 32 | 20 6f 66 20 6c 69 6e 65 |f item 2| of line|
|00005600| 20 54 68 65 43 4c 41 53 | 53 20 6f 66 20 43 4c 41 | TheCLAS|S of CLA|
|00005610| 53 53 45 53 20 69 73 20 | 22 53 70 68 65 72 65 73 |SSES is |"Spheres|
|00005620| 22 20 61 6e 64 c2 0d 74 | 68 65 20 73 68 6f 72 74 |" and..t|he short|
|00005630| 20 6e 61 6d 65 20 6f 66 | 20 62 67 20 62 74 6e 20 | name of| bg btn |
|00005640| 69 64 20 38 20 69 73 20 | 22 53 63 68 6f 6f 6c 73 |id 8 is |"Schools|
|00005650| 22 20 74 68 65 6e 0d 73 | 65 6e 64 20 6d 6f 75 73 |" then.s|end mous|
|00005660| 65 55 70 20 74 6f 20 62 | 67 20 62 74 6e 20 69 64 |eUp to b|g btn id|
|00005670| 20 38 0d 65 6c 73 65 20 | 69 66 20 69 74 65 6d 20 | 8.else |if item |
|00005680| 32 20 6f 66 20 6c 69 6e | 65 20 54 68 65 43 4c 41 |2 of lin|e TheCLA|
|00005690| 53 53 20 6f 66 20 43 4c | 41 53 53 45 53 20 69 73 |SS of CL|ASSES is|
|000056a0| 20 22 53 63 68 6f 6f 6c | 73 22 20 61 6e 64 c2 0d | "School|s" and..|
|000056b0| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|000056c0| 66 20 62 67 20 62 74 6e | 20 69 64 20 38 20 69 73 |f bg btn| id 8 is|
|000056d0| 20 22 53 70 68 65 72 65 | 73 22 20 74 68 65 6e 0d | "Sphere|s" then.|
|000056e0| 73 65 6e 64 20 6d 6f 75 | 73 65 55 70 20 74 6f 20 |send mou|seUp to |
|000056f0| 62 67 20 62 74 6e 20 69 | 64 20 38 0d 65 6e 64 20 |bg btn i|d 8.end |
|00005700| 69 66 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |if.unloc|k screen|
|00005710| 0d 65 6e 64 20 6d 6f 75 | 73 65 44 6f 77 6e 0d 00 |.end mou|seDown..|
|00005720| 01 28 00 05 01 00 00 2e | 00 18 00 40 00 8d a0 02 |.(......|...@....|
|00005730| 00 00 00 00 00 01 00 00 | 00 0c 00 00 00 10 41 6c |........|......Al|
|00005740| 70 68 61 62 65 74 69 63 | 61 6c 6c 79 00 00 6f 6e |phabetic|ally..on|
|00005750| 20 6d 6f 75 73 65 55 70 | 0d 69 66 20 74 68 65 20 | mouseUp|.if the |
|00005760| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 6d 65 |short na|me of me|
|00005770| 20 69 73 20 22 42 79 20 | 4c 65 76 65 6c 22 20 74 | is "By |Level" t|
|00005780| 68 65 6e 0d 68 69 64 65 | 20 62 67 20 66 6c 64 20 |hen.hide| bg fld |
|00005790| 22 6c 65 76 65 6c 22 0d | 73 65 74 20 74 68 65 20 |"level".|set the |
|000057a0| 6e 61 6d 65 20 6f 66 20 | 6d 65 20 74 6f 20 22 41 |name of |me to "A|
|000057b0| 6c 70 68 61 62 65 74 69 | 63 61 6c 6c 79 22 0d 65 |lphabeti|cally".e|
|000057c0| 6c 73 65 0d 73 65 74 20 | 74 68 65 20 6e 61 6d 65 |lse.set |the name|
|000057d0| 20 6f 66 20 6d 65 20 74 | 6f 20 22 42 79 20 4c 65 | of me t|o "By Le|
|000057e0| 76 65 6c 22 0d 69 66 20 | 62 67 20 66 6c 64 20 22 |vel".if |bg fld "|
|000057f0| 4c 65 76 65 6c 22 20 69 | 73 20 65 6d 70 74 79 20 |Level" i|s empty |
|00005800| 74 68 65 6e 20 70 75 74 | 20 31 20 69 6e 74 6f 20 |then put| 1 into |
|00005810| 62 67 20 66 6c 64 20 22 | 4c 65 76 65 6c 22 0d 73 |bg fld "|Level".s|
|00005820| 68 6f 77 20 62 67 20 66 | 6c 64 20 22 4c 65 76 65 |how bg f|ld "Leve|
|00005830| 6c 22 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 6d 6f |l".end i|f.end mo|
|00005840| 75 73 65 55 70 0d 00 00 | 01 c0 00 06 01 00 00 44 |useUp...|.......D|
|00005850| 00 18 00 57 00 8d a0 02 | 00 00 00 00 00 01 00 00 |...W....|........|
|00005860| 00 0c 00 00 00 10 43 72 | 65 61 74 65 64 20 42 79 |......Cr|eated By|
|00005870| 00 00 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 6c 6f 63 |..on mou|seUp.loc|
|00005880| 6b 20 73 63 72 65 65 6e | 0d 69 66 20 74 68 65 20 |k screen|.if the |
|00005890| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 6d 65 |short na|me of me|
|000058a0| 20 69 73 20 22 43 72 65 | 61 74 65 64 20 42 79 22 | is "Cre|ated By"|
|000058b0| 20 74 68 65 6e 0d 73 65 | 74 20 74 68 65 20 6e 61 | then.se|t the na|
|000058c0| 6d 65 20 6f 66 20 6d 65 | 20 74 6f 20 22 55 73 65 |me of me| to "Use|
|000058d0| 64 20 42 79 22 0d 69 66 | 20 62 67 20 66 6c 64 20 |d By".if| bg fld |
|000058e0| 22 75 73 65 64 20 62 79 | 22 20 69 73 20 65 6d 70 |"used by|" is emp|
|000058f0| 74 79 20 74 68 65 6e 20 | 70 75 74 20 22 41 6c 6c |ty then |put "All|
|00005900| 22 20 69 6e 74 6f 20 62 | 67 20 66 6c 64 20 22 55 |" into b|g fld "U|
|00005910| 73 65 64 20 42 79 22 0d | 68 69 64 65 20 62 67 20 |sed By".|hide bg |
|00005920| 66 6c 64 20 22 43 72 65 | 61 74 65 64 20 42 79 22 |fld "Cre|ated By"|
|00005930| 0d 73 68 6f 77 20 62 67 | 20 66 6c 64 20 22 55 73 |.show bg| fld "Us|
|00005940| 65 64 20 42 79 22 0d 65 | 6c 73 65 0d 73 65 74 20 |ed By".e|lse.set |
|00005950| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 6d 65 20 74 |the name| of me t|
|00005960| 6f 20 22 43 72 65 61 74 | 65 64 20 42 79 22 0d 69 |o "Creat|ed By".i|
|00005970| 66 20 62 67 20 66 6c 64 | 20 22 63 72 65 61 74 65 |f bg fld| "create|
|00005980| 64 20 62 79 22 20 69 73 | 20 65 6d 70 74 79 20 74 |d by" is| empty t|
|00005990| 68 65 6e 20 70 75 74 20 | 22 41 6c 6c 22 20 69 6e |hen put |"All" in|
|000059a0| 74 6f 20 62 67 20 66 6c | 64 20 22 43 72 65 61 74 |to bg fl|d "Creat|
|000059b0| 65 64 20 42 79 22 0d 68 | 69 64 65 20 62 67 20 66 |ed By".h|ide bg f|
|000059c0| 6c 64 20 22 55 73 65 64 | 20 42 79 22 0d 73 68 6f |ld "Used| By".sho|
|000059d0| 77 20 62 67 20 66 6c 64 | 20 22 43 72 65 61 74 65 |w bg fld| "Create|
|000059e0| 64 20 42 79 22 0d 65 6e | 64 20 69 66 0d 75 6e 6c |d By".en|d if.unl|
|000059f0| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 65 6e 64 20 6d |ock scre|en.end m|
|00005a00| 6f 75 73 65 55 70 0d 00 | 00 ac 00 07 01 00 00 5a |ouseUp..|.......Z|
|00005a10| 00 18 00 6c 00 8d a0 02 | 00 00 00 00 00 01 00 00 |...l....|........|
|00005a20| 00 0c 00 00 00 10 4b 65 | 79 20 57 6f 72 64 00 00 |......Ke|y Word..|
|00005a30| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 69 66 20 74 68 |on mouse|Up.if th|
|00005a40| 65 20 76 69 73 69 62 6c | 65 20 6f 66 20 62 67 20 |e visibl|e of bg |
|00005a50| 66 6c 64 20 22 6b 65 79 | 20 77 6f 72 64 22 20 69 |fld "key| word" i|
|00005a60| 73 20 66 61 6c 73 65 20 | 74 68 65 6e 0d 73 68 6f |s false |then.sho|
|00005a70| 77 20 62 67 20 66 6c 64 | 20 22 4b 65 79 20 57 6f |w bg fld| "Key Wo|
|00005a80| 72 64 22 0d 65 6c 73 65 | 0d 68 69 64 65 20 62 67 |rd".else|.hide bg|
|00005a90| 20 66 6c 64 20 22 4b 65 | 79 20 57 6f 72 64 22 0d | fld "Ke|y Word".|
|00005aa0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 6d 6f 75 73 65 |end if.e|nd mouse|
|00005ab0| 55 70 0d 00 01 28 00 08 | 01 00 00 71 00 18 00 82 |Up...(..|...q....|
|00005ac0| 00 8d a0 02 00 00 00 00 | 00 01 00 00 00 0c 00 00 |........|........|
|00005ad0| 00 10 53 63 68 6f 6f 6c | 73 00 00 6f 6e 20 6d 6f |..School|s..on mo|
|00005ae0| 75 73 65 55 70 0d 6c 6f | 63 6b 20 73 63 72 65 65 |useUp.lo|ck scree|
|00005af0| 6e 0d 69 66 20 74 68 65 | 20 73 68 6f 72 74 20 6e |n.if the| short n|
|00005b00| 61 6d 65 20 6f 66 20 6d | 65 20 69 73 20 22 53 70 |ame of m|e is "Sp|
|00005b10| 68 65 72 65 73 22 20 74 | 68 65 6e 0d 73 65 74 20 |heres" t|hen.set |
|00005b20| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 6d 65 20 74 |the name| of me t|
|00005b30| 6f 20 22 53 63 68 6f 6f | 6c 73 22 0d 68 69 64 65 |o "Schoo|ls".hide|
|00005b40| 20 62 67 20 66 6c 64 20 | 22 53 70 68 65 72 65 73 | bg fld |"Spheres|
|00005b50| 22 0d 73 68 6f 77 20 62 | 67 20 66 6c 64 20 22 53 |".show b|g fld "S|
|00005b60| 63 68 6f 6f 6c 73 22 0d | 65 6c 73 65 0d 73 65 74 |chools".|else.set|
|00005b70| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 6d 65 20 | the nam|e of me |
|00005b80| 74 6f 20 22 53 70 68 65 | 72 65 73 22 0d 68 69 64 |to "Sphe|res".hid|
|00005b90| 65 20 62 67 20 66 6c 64 | 20 22 53 63 68 6f 6f 6c |e bg fld| "School|
|00005ba0| 73 22 0d 73 68 6f 77 20 | 62 67 20 66 6c 64 20 22 |s".show |bg fld "|
|00005bb0| 53 70 68 65 72 65 73 22 | 0d 65 6e 64 20 69 66 0d |Spheres"|.end if.|
|00005bc0| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 65 6e |unlock s|creen.en|
|00005bd0| 64 20 6d 6f 75 73 65 55 | 70 0d 00 00 0a 72 00 09 |d mouseU|p....r..|
|00005be0| 01 00 00 bd 01 07 00 d5 | 01 4a 80 02 00 00 00 00 |........|.J......|
|00005bf0| 00 01 00 00 00 0c 00 00 | 00 10 4c 69 73 74 00 00 |........|..List..|
|00005c00| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 69 66 20 74 68 |on mouse|Up.if th|
|00005c10| 65 20 68 69 6c 69 74 65 | 20 6f 66 20 62 67 20 62 |e hilite| of bg b|
|00005c20| 74 6e 20 22 68 65 6c 70 | 22 20 74 68 65 6e 0d 73 |tn "help|" then.s|
|00005c30| 68 6f 77 68 65 6c 70 20 | 74 68 65 20 73 68 6f 72 |howhelp |the shor|
|00005c40| 74 20 6e 61 6d 65 20 6f | 66 20 6d 65 0d 65 78 69 |t name o|f me.exi|
|00005c50| 74 20 6d 6f 75 73 65 55 | 70 0d 65 6e 64 20 69 66 |t mouseU|p.end if|
|00005c60| 0d 67 6c 6f 62 61 6c 20 | 4d 41 58 5f 4c 45 56 45 |.global |MAX_LEVE|
|00005c70| 4c 2c 4d 41 49 4e 53 43 | 52 45 45 4e 2c 4e 41 4d |L,MAINSC|REEN,NAM|
|00005c80| 45 5f 4c 49 53 54 2c 49 | 44 5f 4c 49 53 54 0d 70 |E_LIST,I|D_LIST.p|
|00005c90| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 4e 41 |ut empty| into NA|
|00005ca0| 4d 45 5f 4c 49 53 54 0d | 70 75 74 20 65 6d 70 74 |ME_LIST.|put empt|
|00005cb0| 79 20 69 6e 74 6f 20 49 | 44 5f 4c 49 53 54 0d 0d |y into I|D_LIST..|
|00005cc0| 70 75 74 20 31 20 69 6e | 74 6f 20 43 4f 55 4e 54 |put 1 in|to COUNT|
|00005cd0| 0d 2d 2d 20 77 68 6f 20 | 63 72 65 61 74 65 73 2f |.-- who |creates/|
|00005ce0| 75 73 65 73 20 74 68 65 | 6d 0d 70 75 74 20 74 68 |uses the|m.put th|
|00005cf0| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|00005d00| 62 67 20 62 74 6e 20 69 | 64 20 36 20 69 6e 74 6f |bg btn i|d 6 into|
|00005d10| 20 6c 69 6e 65 20 43 4f | 55 4e 54 20 6f 66 20 57 | line CO|UNT of W|
|00005d20| 48 41 54 5f 54 4f 5f 53 | 45 41 52 43 48 0d 70 75 |HAT_TO_S|EARCH.pu|
|00005d30| 74 20 62 67 20 66 6c 64 | 20 28 57 48 41 54 5f 54 |t bg fld| (WHAT_T|
|00005d40| 4f 5f 53 45 41 52 43 48 | 29 20 69 6e 74 6f 20 6c |O_SEARCH|) into l|
|00005d50| 69 6e 65 20 43 4f 55 4e | 54 20 6f 66 20 57 48 41 |ine COUN|T of WHA|
|00005d60| 54 0d 69 66 20 6c 69 6e | 65 20 43 4f 55 4e 54 20 |T.if lin|e COUNT |
|00005d70| 6f 66 20 57 48 41 54 20 | 69 73 20 22 41 6c 6c 22 |of WHAT |is "All"|
|00005d80| 20 6f 72 20 57 48 41 54 | 20 69 73 20 65 6d 70 74 | or WHAT| is empt|
|00005d90| 79 20 74 68 65 6e 0d 70 | 75 74 20 54 52 55 45 20 |y then.p|ut TRUE |
|00005da0| 69 6e 74 6f 20 51 55 49 | 43 4b 5f 53 4f 52 54 0d |into QUI|CK_SORT.|
|00005db0| 64 65 6c 65 74 65 20 6c | 69 6e 65 20 43 4f 55 4e |delete l|ine COUN|
|00005dc0| 54 20 6f 66 20 57 48 41 | 54 0d 64 65 6c 65 74 65 |T of WHA|T.delete|
|00005dd0| 20 6c 69 6e 65 20 43 4f | 55 4e 54 20 6f 66 20 57 | line CO|UNT of W|
|00005de0| 48 41 54 5f 54 4f 5f 53 | 45 41 52 43 48 0d 65 6c |HAT_TO_S|EARCH.el|
|00005df0| 73 65 0d 70 75 74 20 46 | 41 4c 53 45 20 69 6e 74 |se.put F|ALSE int|
|00005e00| 6f 20 51 55 49 43 4b 5f | 53 4f 52 54 0d 61 64 64 |o QUICK_|SORT.add|
|00005e10| 20 31 20 74 6f 20 43 4f | 55 4e 54 0d 65 6e 64 20 | 1 to CO|UNT.end |
|00005e20| 69 66 0d 0d 2d 2d 20 77 | 68 61 74 20 63 6c 61 73 |if..-- w|hat clas|
|00005e30| 73 20 6f 66 20 73 70 65 | 6c 6c 73 0d 70 75 74 20 |s of spe|lls.put |
|00005e40| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|00005e50| 66 20 62 67 20 62 74 6e | 20 69 64 20 34 20 69 6e |f bg btn| id 4 in|
|00005e60| 74 6f 20 57 48 49 43 48 | 5f 43 4c 41 53 53 0d 64 |to WHICH|_CLASS.d|
|00005e70| 65 6c 65 74 65 20 6c 61 | 73 74 20 77 6f 72 64 20 |elete la|st word |
|00005e80| 6f 66 20 57 48 49 43 48 | 5f 43 4c 41 53 53 0d 2d |of WHICH|_CLASS.-|
|00005e90| 2d 20 63 68 65 63 6b 20 | 66 6f 72 20 6b 65 79 20 |- check |for key |
|00005ea0| 77 6f 72 64 20 73 65 61 | 72 63 68 0d 69 66 20 74 |word sea|rch.if t|
|00005eb0| 68 65 20 76 69 73 69 62 | 6c 65 20 6f 66 20 62 67 |he visib|le of bg|
|00005ec0| 20 66 6c 64 20 22 4b 65 | 79 20 57 6f 72 64 22 20 | fld "Ke|y Word" |
|00005ed0| 61 6e 64 20 62 67 20 66 | 6c 64 20 22 4b 65 79 20 |and bg f|ld "Key |
|00005ee0| 57 6f 72 64 22 20 69 73 | 20 6e 6f 74 20 65 6d 70 |Word" is| not emp|
|00005ef0| 74 79 20 74 68 65 6e 0d | 70 75 74 20 62 67 20 66 |ty then.|put bg f|
|00005f00| 6c 64 20 22 4b 65 79 20 | 57 6f 72 64 22 20 69 6e |ld "Key |Word" in|
|00005f10| 74 6f 20 6c 69 6e 65 20 | 43 4f 55 4e 54 20 6f 66 |to line |COUNT of|
|00005f20| 20 57 48 41 54 0d 70 75 | 74 20 22 44 65 73 63 72 | WHAT.pu|t "Descr|
|00005f30| 69 70 74 69 6f 6e 22 20 | 69 6e 74 6f 20 6c 69 6e |iption" |into lin|
|00005f40| 65 20 43 4f 55 4e 54 20 | 6f 66 20 57 48 41 54 5f |e COUNT |of WHAT_|
|00005f50| 54 4f 5f 53 45 41 52 43 | 48 0d 70 75 74 20 46 41 |TO_SEARC|H.put FA|
|00005f60| 4c 53 45 20 69 6e 74 6f | 20 51 55 49 43 4b 5f 53 |LSE into| QUICK_S|
|00005f70| 4f 52 54 0d 61 64 64 20 | 31 20 74 6f 20 43 4f 55 |ORT.add |1 to COU|
|00005f80| 4e 54 0d 65 6e 64 20 69 | 66 0d 0d 2d 2d 20 68 6f |NT.end i|f..-- ho|
|00005f90| 77 20 64 6f 20 77 65 20 | 6f 72 64 65 72 20 74 68 |w do we |order th|
|00005fa0| 65 6d 0d 70 75 74 20 74 | 68 65 20 73 68 6f 72 74 |em.put t|he short|
|00005fb0| 20 6e 61 6d 65 20 6f 66 | 20 62 67 20 62 74 6e 20 | name of| bg btn |
|00005fc0| 69 64 20 35 20 69 6e 74 | 6f 20 48 4f 57 0d 0d 2d |id 5 int|o HOW..-|
|00005fd0| 2d 20 61 72 65 20 74 68 | 65 72 65 20 73 63 68 6f |- are th|ere scho|
|00005fe0| 6f 6c 73 20 6f 72 20 73 | 70 68 65 72 65 73 20 74 |ols or s|pheres t|
|00005ff0| 6f 20 6c 6f 6f 6b 20 66 | 6f 72 3f 0d 70 75 74 20 |o look f|or?.put |
|00006000| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|00006010| 66 20 62 67 20 62 74 6e | 20 69 64 20 38 20 69 6e |f bg btn| id 8 in|
|00006020| 74 6f 20 54 59 50 45 0d | 69 66 20 62 67 20 66 6c |to TYPE.|if bg fl|
|00006030| 64 20 54 59 50 45 20 69 | 73 20 28 22 41 6c 6c 22 |d TYPE i|s ("All"|
|00006040| 26 26 54 59 50 45 29 20 | 74 68 65 6e 0d 70 75 74 |&&TYPE) |then.put|
|00006050| 20 22 41 6c 6c 20 54 79 | 70 65 73 22 20 69 6e 74 | "All Ty|pes" int|
|00006060| 6f 20 54 59 50 45 0d 65 | 6c 73 65 0d 70 75 74 20 |o TYPE.e|lse.put |
|00006070| 54 59 50 45 20 69 6e 74 | 6f 20 54 59 50 45 5f 54 |TYPE int|o TYPE_T|
|00006080| 4f 5f 53 45 41 52 43 48 | 0d 70 75 74 20 62 67 20 |O_SEARCH|.put bg |
|00006090| 66 6c 64 20 54 59 50 45 | 20 69 6e 74 6f 20 54 59 |fld TYPE| into TY|
|000060a0| 50 45 0d 70 75 74 20 46 | 41 4c 53 45 20 69 6e 74 |PE.put F|ALSE int|
|000060b0| 6f 20 51 55 49 43 4b 5f | 53 4f 52 54 0d 65 6e 64 |o QUICK_|SORT.end|
|000060c0| 20 69 66 0d 0d 73 65 74 | 20 63 75 72 73 6f 72 20 | if..set| cursor |
|000060d0| 74 6f 20 77 61 74 63 68 | 0d 70 75 74 20 74 68 65 |to watch|.put the|
|000060e0| 20 73 68 6f 72 74 20 69 | 64 20 6f 66 20 63 64 20 | short i|d of cd |
|000060f0| 22 4c 69 73 74 73 22 20 | 69 6e 74 6f 20 4c 49 53 |"Lists" |into LIS|
|00006100| 54 53 5f 49 44 0d 0d 69 | 66 20 48 4f 57 20 69 73 |TS_ID..i|f HOW is|
|00006110| 20 22 41 6c 70 68 61 62 | 65 74 69 63 61 6c 6c 79 | "Alphab|etically|
|00006120| 22 20 74 68 65 6e 0d 70 | 75 74 20 22 41 6c 70 68 |" then.p|ut "Alph|
|00006130| 61 62 65 74 69 63 61 6c | 22 20 69 6e 74 6f 20 4e |abetical|" into N|
|00006140| 41 4d 45 5f 46 49 45 4c | 44 0d 70 75 74 20 22 41 |AME_FIEL|D.put "A|
|00006150| 6c 70 68 61 4c 69 6e 6b | 49 44 73 22 20 69 6e 74 |lphaLink|IDs" int|
|00006160| 6f 20 49 44 5f 46 49 45 | 4c 44 0d 69 66 20 57 48 |o ID_FIE|LD.if WH|
|00006170| 49 43 48 5f 43 4c 41 53 | 53 20 69 73 20 6e 6f 74 |ICH_CLAS|S is not|
|00006180| 20 22 41 6c 6c 22 20 74 | 68 65 6e 0d 70 75 74 20 | "All" t|hen.put |
|00006190| 57 48 49 43 48 5f 43 4c | 41 53 53 20 62 65 66 6f |WHICH_CL|ASS befo|
|000061a0| 72 65 20 4e 41 4d 45 5f | 46 49 45 4c 44 0d 70 75 |re NAME_|FIELD.pu|
|000061b0| 74 20 57 48 49 43 48 5f | 43 4c 41 53 53 20 62 65 |t WHICH_|CLASS be|
|000061c0| 66 6f 72 65 20 49 44 5f | 46 49 45 4c 44 0d 65 6e |fore ID_|FIELD.en|
|000061d0| 64 20 69 66 0d 70 75 74 | 20 63 64 20 66 6c 64 20 |d if.put| cd fld |
|000061e0| 4e 41 4d 45 5f 46 49 45 | 4c 44 20 6f 66 20 63 64 |NAME_FIE|LD of cd|
|000061f0| 20 69 64 20 4c 49 53 54 | 53 5f 49 44 20 69 6e 74 | id LIST|S_ID int|
|00006200| 6f 20 4e 41 4d 45 5f 4c | 49 53 54 0d 70 75 74 20 |o NAME_L|IST.put |
|00006210| 63 64 20 66 6c 64 20 49 | 44 5f 46 49 45 4c 44 20 |cd fld I|D_FIELD |
|00006220| 6f 66 20 63 64 20 69 64 | 20 4c 49 53 54 53 5f 49 |of cd id| LISTS_I|
|00006230| 44 20 69 6e 74 6f 20 49 | 44 5f 4c 49 53 54 0d 65 |D into I|D_LIST.e|
|00006240| 6c 73 65 0d 70 75 74 20 | 62 67 20 66 6c 64 20 22 |lse.put |bg fld "|
|00006250| 4c 65 76 65 6c 22 20 6f | 66 20 63 64 20 69 64 20 |Level" o|f cd id |
|00006260| 4d 41 49 4e 53 43 52 45 | 45 4e 20 69 6e 74 6f 20 |MAINSCRE|EN into |
|00006270| 54 68 65 4c 45 56 45 4c | 0d 69 66 20 54 68 65 4c |TheLEVEL|.if TheL|
|00006280| 45 56 45 4c 20 69 73 20 | 6e 6f 74 20 22 41 6c 6c |EVEL is |not "All|
|00006290| 22 20 74 68 65 6e 0d 70 | 75 74 20 54 68 65 4c 45 |" then.p|ut TheLE|
|000062a0| 56 45 4c 20 69 6e 74 6f | 20 53 54 41 52 54 5f 4c |VEL into| START_L|
|000062b0| 45 56 45 4c 0d 70 75 74 | 20 54 68 65 4c 45 56 45 |EVEL.put| TheLEVE|
|000062c0| 4c 20 69 6e 74 6f 20 45 | 4e 44 5f 4c 45 56 45 4c |L into E|ND_LEVEL|
|000062d0| 0d 65 6c 73 65 0d 70 75 | 74 20 31 20 69 6e 74 6f |.else.pu|t 1 into|
|000062e0| 20 53 54 41 52 54 5f 4c | 45 56 45 4c 0d 70 75 74 | START_L|EVEL.put|
|000062f0| 20 4d 41 58 5f 4c 45 56 | 45 4c 20 69 6e 74 6f 20 | MAX_LEV|EL into |
|00006300| 45 4e 44 5f 4c 45 56 45 | 4c 0d 65 6e 64 20 69 66 |END_LEVE|L.end if|
|00006310| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 54 68 65 |.repeat |with The|
|00006320| 4c 45 56 45 4c 3d 53 54 | 41 52 54 5f 4c 45 56 45 |LEVEL=ST|ART_LEVE|
|00006330| 4c 20 74 6f 20 45 4e 44 | 5f 4c 45 56 45 4c 0d 70 |L to END|_LEVEL.p|
|00006340| 75 74 20 22 4c 65 76 65 | 6c 22 26 26 54 68 65 4c |ut "Leve|l"&&TheL|
|00006350| 45 56 45 4c 20 69 6e 74 | 6f 20 4e 41 4d 45 5f 46 |EVEL int|o NAME_F|
|00006360| 49 45 4c 44 0d 70 75 74 | 20 4e 41 4d 45 5f 46 49 |IELD.put| NAME_FI|
|00006370| 45 4c 44 26 26 22 49 44 | 73 22 20 69 6e 74 6f 20 |ELD&&"ID|s" into |
|00006380| 49 44 5f 46 49 45 4c 44 | 0d 69 66 20 57 48 49 43 |ID_FIELD|.if WHIC|
|00006390| 48 5f 43 4c 41 53 53 20 | 69 73 20 6e 6f 74 20 22 |H_CLASS |is not "|
|000063a0| 41 6c 6c 22 20 74 68 65 | 6e 0d 70 75 74 20 57 48 |All" the|n.put WH|
|000063b0| 49 43 48 5f 43 4c 41 53 | 53 26 22 20 22 20 62 65 |ICH_CLAS|S&" " be|
|000063c0| 66 6f 72 65 20 4e 41 4d | 45 5f 46 49 45 4c 44 0d |fore NAM|E_FIELD.|
|000063d0| 70 75 74 20 57 48 49 43 | 48 5f 43 4c 41 53 53 26 |put WHIC|H_CLASS&|
|000063e0| 22 20 22 20 62 65 66 6f | 72 65 20 49 44 5f 46 49 |" " befo|re ID_FI|
|000063f0| 45 4c 44 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 63 |ELD.end |if.put c|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.